PDF Mikata

What the Flags g, i, m and s Mean

Published: Oct 19, 2026 | Updated: Oct 19, 2026 | About (Japanese)

Key points
  • Write a pattern
  • Enter flags
  • See the difference

Type the letters into the "Flags" field of Regex Tester.

Steps

  1. Write a pattern
  2. Enter flags
  3. See the difference
Adding "i" ignores the difference between upper and lower case.
Use "Regex Tester" (free)

Tools that go well with this

If this guide helped, a small tip would mean a lot.

Send a tip (¥300)Send a gift (Amazon wishlist)

More guides for this tool

See all guides