เข้าสู่ระบบ เริ่มใช้ฟรี
Regular expression
/
/
Test string

Live highlighting

Matches and capture groups light up in the test string as you type, with positions and values for every group.

Plain-English explanation

Every token of your pattern is explained in a tree – hover a line to see which part of the regex it describes.

JavaScript and Java

The JavaScript flavor runs in your browser; the Java flavor runs on the real java.util.regex engine – possessive quantifiers, atomic groups and \Q…\E included.

Code for 8 languages

Copy ready-to-run code for JavaScript, Python, Java, C#, PHP, Go, Ruby and Rust – with your flags and test string.