Regex Debugger

Regular expression (Pattern)
/ /
Test Text (Test Spring)
Match Results No match found
Waiting for input...

What is the regular expression (Regex)?

Regular Expression (Regular Exchange, often short) Regex is a powerful logical formula for describing, matching and processing strings. It defines a search mode using a specific character combination and is widely applied to development scenarios such as text search, data validation, content replacement, etc.

Match feedback in real time

Enter is the match. Without clicking the button, the tool will interpret your mode in real time and highlight all matches in the test text.

Visual Highlight

Clear vision allows you to see what is matched at first sight, and where you match.

Multi-modal Support

Supports common global searches (g), case insensitive (i) and multiline matching (m) to meet most debugging needs.

Common regular expression reference

E-mail Authentication
^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
Chinese mobile phone authentication
^1[3-9]\d{9}$
URL Web Authentication
https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)