Regex Tester

Test and debug regular expressions in real-time. Matches are highlighted instantly as you type.

/ /

Regular Expression Cheat Sheet

  • \d — Any digit (0-9)
  • \w — Word character (a-z, A-Z, 0-9, _)
  • \s — Whitespace
  • . — Any character except newline
  • ^ — Start of string
  • $ — End of string
  • + — One or more
  • * — Zero or more
  • ? — Zero or one
  • () — Capture group

Related Developer Tools

JSON Formatter

Instantly format, minify, and validate JSON strings to find syntax errors.

HTML Minifier & Formatter

Optimize web pages for faster load times, or reverse engineer minified code.

CSS Minifier & Formatter

Compress stylesheets for production builds, or beautify CSS instantly.