ทดสอบ Regex
ทดสอบและดีบัก regular expressions พร้อมไฮไลท์การจับคู่
Match Information›
hello@example.comhelloexample.comExplanation›
\bWord boundary(Capturing group\wWord character [a-zA-Z0-9_]+1+ times (greedy))End of group@Literal "@"(Capturing group\wWord character [a-zA-Z0-9_]+1+ times (greedy)\.Literal dot\wWord character [a-zA-Z0-9_]+1+ times (greedy))End of group\bWord boundaryHistory›
Regex Tester & Debugger
Test and debug regular expressions with live match highlighting, group capture, and flag support. Works with JavaScript regex syntax. Paste your pattern, enter test text, and see matches instantly.
FAQ
What regex flags are supported?
g (global), i (case-insensitive), m (multiline), s (dotAll), u (unicode), and y (sticky) — the same flags as JavaScript's RegExp.
How do I match a whole word?
Use word boundaries: \bword\b matches 'word' but not 'words' or 'keyword'.
How do I make a regex case-insensitive?
Add the i flag. /hello/i will match Hello, HELLO, hElLo, etc.
What is a capture group?
Parentheses create a capture group: (\d+) captures one or more digits. Named groups use (?<name>pattern).
สำรวจต่อ
เครื่องมือนักพัฒนา อื่นๆ ที่คุณอาจชอบ...
จัดรูปแบบ JSON
จัดรูปแบบ ตรวจสอบ และย่อข้อมูล JSON พร้อม syntax highlighting
เข้ารหัส/ถอดรหัส Base64
เข้ารหัสข้อความเป็น Base64 และถอดรหัสสตริง Base64
เข้ารหัส/ถอดรหัส URL
เข้ารหัสและถอดรหัสส่วนประกอบ URL และ query strings
สร้าง UUID
สร้างตัวระบุ UUID v4 แบบสุ่ม
สร้าง Hash
สร้างแฮช MD5, SHA-1, SHA-256 และ SHA-512 จากข้อความ
ถอดรหัส JWT
ถอดรหัสและตรวจสอบ header และ payload ของ JWT token
จัดรูปแบบ HTML
จัดรูปแบบโค้ด HTML พร้อมการเยื้องที่เหมาะสม
ย่อ CSS
ย่อโค้ด CSS โดยลบช่องว่างและ comments