RegexPlanet
Testing
Patterns
Status
Support
XRegExp Regular Expression Test Page
XRegExp Syntax
Share:
Expression to test
Regular Expression
Replacement
Options
Help
Named capture only (
n
)
Dot matches all (singleline) (
s
)
Free-spacing and line comments (extended) (
x
)
21-bit Unicode properties (astral) — Requires the Unicode Base addon (
A
)
All matches, or advance lastIndex after matches (global) (
g
)
Case insensitive (ignoreCase) (
i
)
^ and $ match at newlines (multiline) (
m
)
Matches must start at lastIndex (sticky) — Requires Firefox 3+ or native ES6 support (
y
)
Test
Inputs
Test
More inputs
Switch Engines
Switch Engines