Write a regex pattern, test it against text; matches are highlighted, capture groups and match counts are listed instantly. Free, client-side.
Regular expressions (regular expression / regexRegex is a powerful language standard used to search for, verify, or extract specific patterns within text. The same syntax applies to simple checks like email, phone number, or URL verification, as well as more advanced tasks like log file parsing or complex text transformations. This free Regex Test tool lets you instantly test the pattern you've typed on real text.
Tool, global (g), case-insensitive (i), many lines (m), dot-all (s / dotAll) and Unicode (u) It supports the flags. All matching sections are highlighted in color within the text. If there are any matching groups,(group)The values are listed in a separate table with their numbers, so you can easily see which value the group captured. When you enter an invalid pattern, the tool immediately gives a warning and does not crash the application.
All processing happens in your browser; your text is not sent to any server. JavaScript is native. RegExp Because it uses a regex engine, the results are perfectly compatible with JavaScript environments. You can use this tool as a practice area in your regex learning process, or to live test the pattern you will use in your project.
/ (without, just the pattern).^ and $ It is interpreted as a line break/newsline. s: dotAll — dot (.It also maps the newline character. u: Unicode — provides full Unicode support.(\d+)For each match, the contents of these groups are listed in separate tables as Group 1, Group 2… and so on. Unnamed and named groups ((?<ad>...)) is supported.