What am doing: I am querying a datasource using variable feature to pull some data to use for filtering.
Problem statement: The thing is the result from query I am getting is a single line string with values separated by a comma.
eg: INC001,INC002,INC003,INC004…
The twist here is, I want the result as an array of values such as “INC001”,“INC002”,“INC003”. but my datasource does not have any feature to split this string into an array.
And so I tried to use the regex feature to write a regex group to be able to extract only the words from the string, but sadly I couldn’t…
my view on regex, yes use it on rare occasions when you have no control on how the date comes to you. Imho I do not recommend it to be used willy nilly. and Definitely not to hack it up