JavaScript flavor
Formalint uses the browser's JavaScript regular expression engine, so results match what front-end code and many Node.js tools will produce.
Browser-based developer tools
Test JavaScript regular expressions, validate patterns, inspect matches and review capture groups without sending text to a backend.
Reference notes
Formalint uses the browser's JavaScript regular expression engine, so results match what front-end code and many Node.js tools will produce.
Each match lists capture groups so you can quickly confirm whether your parser extracts the fields you expect.
The validator reports invalid regular expression syntax before you copy a pattern into JavaScript, Node.js or frontend form validation code.
Frequently asked
Matching runs on the JavaScript RegExp engine built into the browser. Behavior closely matches Node.js and browser JavaScript, but differs in some edge cases from PCRE used by PHP or Python's re module.
The g flag finds all matches instead of stopping at the first one, i makes matching case-insensitive, and m changes ^ and $ to match the start and end of each line instead of only the whole string.
This is usually a greedy versus lazy quantifier issue. A pattern like .* matches as much as possible, while .*? stops at the first valid match, which often gives more predictable results for extracting values between delimiters.
Yes. Capture groups, including named groups defined with the (?<name>...) syntax, are listed separately from the full match for each result.