ⓘ
Quick Answer
A regular expression (regex) is a pattern used to match, search, and extract text — for example, \d+ matches any sequence of digits in a string. This tester lets you write and test regex patterns in real time with live match highlighting.
Test regular expressions live with match highlighting and a library of common patterns.
Regular Expression
/
/
Test String
Matches: 0
Status: —
Highlighted Output
Common Patterns
Cite This Tool
Regex Tester. (2026). DevTools Online. Retrieved from https://devutilitypro.com/regex-tester/