Regex Tester
Test and debug regular expressions against sample text. Matches are highlighted so you can quickly see what your regex is capturing.
Test Text
Matches Highlighted
Matches are underlined and highlighted in red. All processing happens in your browser.
Common Regex Patterns
Click any pattern to load it into the tester above. You can tweak it for your own use cases.
Regex Cheatsheet
Quick reference for everyday regular expressions. Syntax may vary slightly between languages, but these work well in JavaScript/TypeScript.
Basics & Anchors
Quantifiers
Groups & Lookarounds
Shorthands
Flags (JS / TS)
Related tools
Build and send HTTP requests from your browser. Configure method, headers, and body, then inspect status, headers, and response.
Convert simple class-like code into a Mermaid UML class diagram and preview it instantly.
Pretty-print and validate JSON with error highlighting.
Clean hidden characters like zero-width and non-breaking spaces from text.
Convert text to uppercase, lowercase, title case, snake_case, camelCase and more.
