Regular Expression Help

A Regular Expression is a search string and optionally a replacement string (see our Regular Expression Calculator):

Search String Rules

Replacement String Rules

  • $& - replace with entire matched string
  • $1 ... $9 - replace with first ... ninth matched bracketed () expression

Computing Articles