Skip to content
DocsAll

Regex Tester

Free Local Processing

Free online regex tester supporting custom flags (g/i/m, etc.), real-time matching, and highlighted results. You can view each match content and position, with capture group support. All processing happens in your browser, content never uploaded, privacy-safe.

Options

How to Use

  1. 1 Type or paste the text to match in the input box
  2. 2 Enter the regex in "Regex pattern" and flags like g/i/m in "Flags" (default g)
  3. 3 Click "Start Test" button to view match count and each match content and position

FAQ

Q: How do I escape special characters?

To match regex metacharacters (e.g. . * + ? ( ) [ ] { } ^ $ | \), add a backslash before them. For example, to match a dot, write \.

Q: What do flags g / i / m mean?

g means global match (find all matches), i means ignore case, m means multiline mode (^ and $ match the start/end of each line). They can be combined, e.g. gi.

Related Tools