I need to parse a string in a workflow. Basically, I need to get a substring out of it by position, just like Substring function does. Since I cannot use functions in the workflow, I am trying to use the Regular Expression action instead. Still, I have been struggling to get the correct pattern. Can someone recommend a regex pattern that would substitute a substring function? Say to get a part of string from 5th to the 10th position.
Thank you.
Solved! Go to Solution.
I was able to get this expression to work in my test workflow: (?<=^.{4}).{5} Where 4 represents the starting position and 5 represents the number of characters you want to extract. Keep in mind that the character index starts at 0 not 1.