Regular Expressions Builder
Step 3: Run match pattern test.
Step 2: Enter a string to test.
Bell
Backspace
Tab
Carriage return
Vertical tab
Form feed
Newline
Escape
ASCIcharacter as octal
ASCIcharacter as hex
ASCI control character
Unicode character as hex
A nonescape character
Beginning of line
End of line
Beginning of string
End of line or string
Exactly the end of string
Where search started
On a word boundary
Not on a word boundary
Matches any single character except \n
Matches single character in list
Matches single character not in list
Matches single character in a range
Matches a word character; same as [a-zA-Z_0-9]
Matches a nonword character
Matches a space character; same as [\n\r\t\f]
Matches a nonspace character
Matches a decimal digit; same as [0-9]
Matches a nondigit
Matches all occurences of preceding expression
Matches the preceding character or subexpression one or more times.
Matches the preceding character or subexpression zero or one time.
Matches the preceding character exactly n times.
Matches the preceding character at least n times.
Matches the preceding character at least n and at most m times.
When this character immediately follows any of the other quantifiers (*, +, ?, {n}, {n,}, {n,m}), the matching pattern is non-greedy.
Matches pattern and captures the match.
Matches pattern but does not capture the match. Example: industr(?:y|ies)
Positive lookahead matches the search string at any point where a string matching pattern begins.
Negative lookahead matches the search string at any point where a string not matching pattern begins.
Matches either x or y.
Matches the control character indicated by x.
Matches a form-feed character. Equivalent to \x0c and \cL.
Matches a newline character. Equivalent to \x0a and \cJ.
Matches a carriage return character. Equivalent to \x0d and \cM.
Matches a tab character. Equivalent to \x09 and \cI.
Matches a vertical tab character. Equivalent to \x0b and \cK.
Escapes:
Position:
Content:
Result:
String:
Pattern:
Step 1: Compose a match pattern.
Use combobox selections for RE syntax.
Compose & test Regular Expressions.