๐ Online Regex Tester
Test regex patterns with real-time highlighting. Supports g/i/m flags.
๐ Regex guide โ
Enter a regex and text to see matches
๐ Regex Cheat Sheet
| \d | Digit [0-9] | \D | Non-digit |
| \w | Word char | \W | Non-word |
| \s | Whitespace | . | Any char |
| + | 1+ | * | 0+ |
| ? | 0 or 1 | {n,m} | n to m |
| ^ | Start | $ | End |
| [abc] | a/b/c | [^abc] | Not a/b/c |
| ( ) | Capture group | | | Or |
Examples: Email [\w.-]+@[\w.-]+\.\w+ ยท Date \d{4}-\d{2}-\d{2}