Regex Tester & Extractor

Test JavaScript regular expressions and extract captured groups. Note: this uses JavaScript RegExp (not PCRE).


                                

Usage notes

  • This tool uses the browser's JavaScript RegExp engine. Some PCRE features may not be supported.
  • Use the g flag to find all matches. Capturing groups will be shown per match.
  • If your pattern contains slashes /, do not include surrounding slashes; enter the pattern only.