PDF Mikata

Regex for Postal and Phone Numbers

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

Key points
  • Write a pattern
  • Enter the text
  • Check the count

Entering "\d{3}-\d{4}" in Regex Tester finds the shape of a postal code.

Steps

  1. Write a pattern
  2. Enter the text
  3. Check the count
"\d" is one digit and "{3}" means three times.
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