BBuildQuill
Developer Tools

Regex Tester

Test regular expressions with real-time match highlighting.

//gi

How to Use Regex Tester

1

Enter a regex pattern

Type your regular expression pattern in the input field between the forward slashes.

2

Set flags and test text

Toggle the desired flags and enter or paste the text you want to test against.

3

View matches

See highlighted matches in real time and check the match details table for groups and indices.

What is the Regex Tester?

Write and test regular expressions with instant match highlighting. Toggle flags like global, case-insensitive, and multiline, then review detailed match information including capture groups and positions.

  • Real-time match highlighting as you type
  • Support for global, case-insensitive, multiline, and dotall flags
  • Detailed match table with index positions
  • Capture group extraction for each match
  • Live error feedback for invalid patterns
  • Works with any test string length

Frequently Asked Questions

What regex flags are available?
You can toggle Global (g), Case Insensitive (i), Multiline (m), and Dotall (s) flags using the checkboxes.
Does it show capture groups?
Yes. The match details table shows all capture groups for each match, along with the match index and full match text.
Is the highlighting real-time?
Yes. Matches are highlighted in real time as you type your pattern and test string, with no need to click a button.

Related Tools