π Build, test, and debug regular expressions in seconds! Paste your text, adjust flags, and see matches instantly. β¨
No matches found. Try adjusting your pattern or test string.
Instant pattern matching with live results, highlighted matches, and detailed capture group information
Complete regex flag support including global, case-insensitive, multiline, and advanced options
Pre-built patterns for common use cases like emails, phone numbers, and color codes
Regular expressions are powerful for searching, replacing, and validating text. Our Regex Tester lets you write patterns, add flags, and instantly view matches with highlighted resultsβall running locally in your browser.
/g Case-insensitive /i Multiline /m and more.^(\w+[.-]?)*\w+@\w+([.-]?\w+)*(\.\w{2,3})+$Matches most standard email formats, e.g. john.doe@example.com.
#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})Captures 3- or 6-digit hex colors like #ff5733 or #123.
^(\(\d{3}\)|\d{3})[- ]?\d{3}[- ]?\d{4}$Accepts formats like (123) 456-7890 or 555-123-4567.
Your feedback helps us improve
Try combining multiple tools for a complete workflow. For example: Notepad β Text Encryption β Save to Cloud or Date Calculator β Calendar β Countdown Timer
Convert text to Base64 format and decode Base64 strings
Format, validate, and minify JSON data with syntax highlighting and error detection
Compare two JSON documents with structural path diff and formatted line diff. Client-side only.
Compare two JSON documents with structural path diff and formatted line diff. Client-side only.
Semver-aware package.json dependency diff and npm lockfile version map, plus full JSON structural diff.
Generate a starter .editorconfig with indent, EOL, charset, and language presets. Copy-ready.
We'd love to hear your thoughts! Your feedback helps us improve our tools and create a better experience for everyone.
Tell us what you think about this tool