Regex Tester

Test regular expressions with real-time highlighting. Online regex testing tool for API validation and data extraction.

Regex Pattern
Enter your regular expression pattern
Global - find all matches
Common Patterns
Click to load common regex patterns

No Test Results Yet

Enter a pattern and test string to see results

Regex Reference

Common Metacharacters

. - Any character
^ - Start of string
$ - End of string
* - Zero or more
+ - One or more
? - Zero or one

Character Classes

[abc] - Any of a, b, c
[^abc] - Not a, b, c
[a-z] - Lowercase letters
[A-Z] - Uppercase letters
[0-9] - Digits
\d - Digit