> 'find'); var: '_find' = (string_replace: $find, -find='\\\\', -replace='\\'); var: 'result' = (string_findregexp: $text, -find=$_find); else: ($action >> 'replace'); var: '_find' = (string_replace: $find, -find='\\\\', -replace='\\'); var: '_replace' = (string_replace: $replace, -find='\\\\', -replace='\\'); var: 'result' = (string_replaceregexp: $text, -find=$_find, -replace=$_replace); /if; ?>
This page allows you to try out regular expressions. It is a companion to the tips of the week Regular Expressions (Basics), Regular Expressions (Find/Replace), and Regular Expressions (Text Cleanup)
Scroll down to see the LDML code for the specified find or find/replace, the results, and a regular expression quick reference.