Regular Expression Activity

Tool to identify patterns that match the specified regular expression

The recognised special characters and patterns are:

  • [chars]: one or more characters
  • (expr1|expr2|...): one of more expressions
  • ?: zero or one occurrence of an expression
  • +: one or more occurrences of an expression
  • *: zero of more occurrences of an expression

? and * are restricted to one or two expressions and where many different patterns match, only the first few are displayed

Regular Expression:


Matches:

Search for regular expression matches in text

Regular Expression:

Text:

Matches:

Replace: