Advertisement helps us keep this service free
Test, validate, and debug regular expressions with real-time matching
. - Any character\d - Digit (0-9)\w - Word character\s - Whitespace[abc] - Any of a, b, c[^abc] - Not a, b, or c* - 0 or more+ - 1 or more? - 0 or 1{n} - Exactly n{n,} - n or more{n,m} - Between n and m^ - Start of line$ - End of line\b - Word boundary(abc) - Capture group(?:abc) - Non-capture groupa|b - a or b