PocketSwiss
Home
Developer
Diagnostics
Palette
About

Regex Tester

Test regular expressions against text with live highlighting and match information.

g: global
i: case-insensitive
m: multiline

How to use this Regex Tester

Enter your regular expression pattern in the Regex Pattern field. Toggle flags using the chips: g for global (find all matches), i for case-insensitive matching, and m for multiline mode. Enter test text in the Test Text field. Click Test Regex to see matches highlighted in yellow. The tool shows the total match count and lists all matches below. Invalid regex patterns show error messages. This tool is useful for validating patterns before using them in code, extracting data from text, and learning regex syntax through experimentation.

Related Tools
JSON FormatterText Diff