regexEncode()

by Ricardo Fernández Serrata

Version 2 (June 5, 2021)

Download (7 downloads)

Use this to make a string safe to use as regular expression and avoid special interpretation of special chars (meta-characters)

The correct name would be "regexQuoteAll" or "regexEscapeAll".

(If you want to use this in a flow, you can delete log-append and input dialog)