Regex Flags Reference
- g (global): Find all matches, not just the first one.
- i (case-insensitive): Match regardless of letter case.
- m (multiline):
^and$match start/end of each line. - s (dotAll):
.also matches newline characters.
Test regular expressions live with match highlighting, capture groups, and flag controls.
^ and $ match start/end of each line.. also matches newline characters.Enter your values into the input fields above and click the calculate button. The calculator instantly evaluates the mathematical formula client-side and displays your results.
Yes, this calculator is 100% free with no registration, subscription, or software installation required.
Yes. All calculations are executed directly inside your web browser using JavaScript. No numbers, inputs, or personal information are sent to our servers or stored.