ScaleWhite Tools

Regex Tester

Test and debug regular expression patterns in real time.

Pattern Helpers
Character Classes
Quantifiers
Anchors
Groups
Lookaround

Common Patterns

What is this tool?

A tool to test regular expression patterns in real time. Match results are displayed as you type the pattern, making it ideal for debugging regex. It also supports replacement preview and pattern visualization.

How to use

  1. Enter a regex pattern or use helper buttons and presets.
  2. Select flags as needed.
  3. Enter test text and match results will be displayed in real time.
  4. Enter a replacement string to preview the replacement result.

Examples

  • Test email address validation patterns.
  • Verify regex for extracting patterns from log files.
  • Preview regex replacement results before using in code.