TEST PATTERNS / 06
Regex tester
Build a JavaScript regular expression, see matches update as you type, and inspect captures in context.
JavaScript RegExp syntax. Common flags: g global · i ignore case · m multiline · s dot all · u Unicode.
Match preview
Waiting for a pattern and textMatches and captures
Quick RegEx help
. any character · \d digit · \w word character · \s whitespace
^ start · $ end · \b word boundary
* zero or more · + one or more · ? optional · {2,4} repeat range
(…) capture group · (?:…) non-capturing group · a|b either pattern
Privacy: input is processed in this browser and is not uploaded.