Regex tester
Test patterns and explore highlighted matches.
Loading / 加载中
Your input is processed on this device.
How to use
Enter a JavaScript regular expression without slash delimiters. Choose flags and test against text. Matching runs in a dedicated worker with a two-second timeout and a 10,000-match display limit.
Example
[\w.+-]+@[\w.-]+ finds email-like strings.
Good to know
Where is my data processed?
Your browser performs the operation. Input stays in page memory. Markdown draft saving is available when you explicitly enable it on this device.
Which regular expression syntax is supported?
Use JavaScript regular expression syntax supported by your browser. Enter the pattern without slash delimiters and select flags with the controls.
Why did matching stop?
The worker stops after two seconds to bound execution time, and the result display is limited to 10,000 matches. Try a smaller input or simplify the expression.