Skip to content
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
All tools
Home
Flags & Options
Regex
Editors & build tools
Regex Flags & Options
Regular expressions in PCRE, JavaScript and Python.
All Regex pages
JavaScript regex flags: g, i, m, s, u, v, y and d
What each JavaScript RegExp flag does: g finds all matches, i ignores case, m works per line, s lets . match newlines, u and v add Unicode, plus y and d.
Esc