Regex Tester
Regular Expression
//
Valid
Common Patterns
Test String
Character count: 0
Match Results
Enter regular expression and test string to start testing
Instructions
Regular Expression Flags
- • g - Global match, find all matches
- • i - Ignore case
- • m - Multiline mode
- • s - Single line mode, . matches newline
- • u - Unicode mode
- • y - Sticky matching
Common Syntax
- • . - Match any character (except newline)
- • * - Match 0 or more times
- • + - Match 1 or more times
- • ? - Match 0 or 1 time
- • ^ - Start of line
- • $ - End of line
All regular expression testing is performed locally in the browser, no data is uploaded to servers, protecting your privacy and security.