Forum Discussion

Mez's avatar
Mez
Qrew Captain
10 hours ago

Using RegexReplace()

Does this function support capturing groups, and if yes, how does one access the captured data? 

Intent is to use a this function looking for punctuation from a text field, and then add a new line to this. 

regex: ([.!?])\s*

substitution: $1\n

Documentation doesn't state one way or the other. I've tried escaping the new line value without success. Perhaps I'm just missing something simple. 

1 Reply

  • Can you give an example of the before and after results you are looking for?