Hey guys.
I'm trying to filter some data from a text item.
The item collects something like this:
I wish to get just the user's name, so, I tried to preprocess it with this regular expression:
And it works, but just for the first occurrence. Other occurrences are ignored.
Then I tried to add some flags
But that gives me an error
I'm not sure how to get multiple values that match that expression.
Any ideas?
Thanks
I'm trying to filter some data from a text item.
The item collects something like this:
users[0].Name=default
(...)
users[1].Name=admin
(...)
(...)
users[1].Name=admin
(...)
Code:
Pattern = Name=(\w+) Output = \1
Then I tried to add some flags
Code:
/Name=(\w+)/gm
cannot perform regular expression "/Name=(\w+)/gm" match for value of type "string": pattern does not match
Any ideas?
Thanks
Comment