RegExpr

Hi there,

I was wondering if there is any way to set the RegExpr’s expression from outside the inpector. Or is this node outdated and there is some more flexible alternative?
I need to extract a lot of values from a text file which are all encapsulated in value, while ‘FLAG’ could be one of many many different flags, so I need to set it dynamically.
Any ideas?

try XPath if you work with valid xml

Velcrome is right. I did this with XPath and also with XQuery.
With Reader you read the content of the file and with XPath you filter the content. In your case you have to put in the XPath Query: //FLAG

I think the XQuery module in vvvv is not the latest version or is incomplete, because I noticed that some expressions didn’t work.

For XPath/XQuery explanation you can visit www.w3schools.org