Free Regex Tester
Debug your Regular Expressions instantly. Real-time highlighting for JavaScript Regex patterns.
ADVERTISEMENT
[YOUR_ADSENSE_CODE]
Powered by Apex Marketplaces
Regular Expression
/
/
Test String
Matches: 0
Javascript Engine
ADVERTISEMENT
[YOUR_ADSENSE_CODE]
Regex Cheatsheet
Common tokens to help you build patterns faster:
Any Character .
Digit (0-9) \d
Word Char (a-z, 0-9, _) \w
Whitespace \s
Start of Line ^
End of Line $
One or More +
Zero or More *
Common Flags
Flags change how the engine searches:
- g (Global): Find all matches, not just the first one.
- i (Case Insensitive): Match ‘A’ and ‘a’.
- m (Multiline): ^ and $ match start/end of lines, not just string.