8 chars · 1 line
8 chars · 1 line
8 chars · 1 line
8 chars · 1 line
Regex flag behavior
JavaScript regular expressions are case-sensitive by default. The valid pattern vetatool therefore does not match VetaTool until the i flag is enabled. This tool is free to use. No account or payment is required.
Last updated
Using i is usually clearer than manually writing uppercase and lowercase alternatives for every letter. Keep it off when case carries meaning in identifiers or codes.
Keep the same pattern and add the ignore-case flag.
vetatool / no flagsiCommon questions
Yes. Without i, uppercase and lowercase letters are compared case-sensitively.
Yes, as long as each supported flag appears at most once.
Only when the requirement is truly case-insensitive. Some tokens, IDs, and codes intentionally distinguish case.
Debugging a specific Regex issue? Browse Regex troubleshooting.