How to correctly escape regular expression in the script

Question

Please suggest a way to correctly escape regular expressions in FlexiLayout studio (Advanced pre-
search relations)

Answer

You can create a Character String element and paste the Regular Expression to the corresponding field:

2021-12-17_18_19_21.png

Then, in the Advanced tab you are able to check options as code:

2021-12-17_18_20_36.png

You will find already escaped regular expression here:

2021-12-17_18_21_09.png

Then you may copy the string to the Advanced pre-search relations and modify it accordingly to your needs.

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.