Skip to main content

JavaScript Regex Flags

Build and copy JavaScript regex flags, see what each does and whether this browser supports it. Checks stay local; no user patterns are compiled or run.

Choose JavaScript flags

Select flags to build a string. The u and v flags cannot be combined.

Checking browser support locally…

Flag string

No flags selected

Select one or more flags to build a string.

Only the flag letters are copied, in standard order; slash delimiters are not included.

Was this tool helpful?