Regex · On this device

Regex templates

Common patterns for email, CN phone, URL and date.

  1. ไฟล์หรือวาง
  2. พรีวิว
  3. ดาวน์โหลด

Everyday templates, not a full spec. Copy, then paste on the tester.

Email

Common email shape, not the full RFC.

[^\s@]+@[^\s@]+\.[^\s@]+

Phone

Mainland China 11-digit numbers. No carrier check.

1[3-9]\d{9}

URL

http(s) until whitespace. Reachability is not checked.

https?:\/\/[^\s]+

Date

YYYY-MM-DD shape. Leap months are not checked.

\d{4}-\d{2}-\d{2}
Ad 728×90 · mobile 320×50
How it works, what you get, limits

ทำอะไร

Common patterns for email, CN phone, URL and date.

วิธีใช้

Copy a template, then paste it on the tester.

ได้อะไร

Four everyday shapes, not a full spec.

ตัวเลือกและเปรียบเทียบ

Email / phone / URL / YYYY-MM-DD.

The validator uses the same rules line by line.

ข้อจำกัด

Unusual but valid values may fail.

FAQ

RFC email?

No. Unusual but valid addresses may fail.

Leap months?

Not checked. Only YYYY-MM-DD shape.