Online Regex tester
Test your regular expressions with instant result highlighting and detailed information
| Code | Meaning |
|---|---|
| . | Any character except a newline |
| * | Zero or more |
| + | One or more |
| ? | Zero or one |
| ^ | Start of text |
| $ | End of text |
| \d | Digit 0-9 |
| \w | Letter, digit, or _ |
| \s | Whitespace |
| \b | Word boundary |
| [abc] | Any character from the set |
| (abc) | Capture group |
| a|b | a or b |
| {n,m} | n to m times |