RegEx Home | .Net Regular Expression Syntax Summary | Add to Favorites
Regular expressions are very powerful tool in search-and-replace scenario. In this case we need two regular expressions: first expression is used to search text, and second regular expression is used to define replacement. This two expressions are connected with backreferences.
You can use this online tester to check if your regular expressions find and replace correct strings.
Input text: Regular Expression for search: Regular Expression for replacement: RegexOptions: Ignore Case Multiline Singleline IgnorePatternWhitespace RightToLeft CultureInvariant ExplicitCapture ECMAScript