Development

Regular Expression Tester

Test JavaScript regular expressions. Match indices start at zero; processing stops after 1,000 matches.

01Input and settings

The calculation runs in your browser. You can use the tool without installing software.

02Result

Waiting for input
Waiting for input

Enter your values or load the example to see the result here.

About this tool: Regular Expression Tester

Test JavaScript regular expressions. Match indices start at zero; processing stops after 1,000 matches.

The tester uses JavaScript regular-expression syntax and returns each match with its zero-based UTF-16 index and capture groups. Flags control repeated matching, case sensitivity and multiline behavior. Expressions run in a separate worker and are stopped if they take too long.

How the calculation works

pattern + flags → matches + indices + capture groups

Worked example

Pattern
\b[A-Za-z]+\b
Flags (g, i, m, s, u, y)
g
Input
Hello, Asted Cloud!
Hello (0); Asted (7); Cloud (13)

Questions and answers

What does this tool do?

Test JavaScript regular expressions. Match indices start at zero; processing stops after 1,000 matches. The tester uses JavaScript regular-expression syntax and returns each match with its zero-based UTF-16 index and capture groups. Flags control repeated matching, case sensitivity and multiline behavior. Expressions run in a separate worker and are stopped if they take too long.

What affects precision and input format?

Text operations depend on the selected format. Check the supported characters and syntax in the description and example.

Where are the calculations performed?

The calculation runs in your browser. You can use the tool without installing software.

Comments (0)

Share your thoughts — please be polite and stay on topic.

No comments yet. Leave a comment — share your opinion!

To leave a comment, please log in.

Log in to comment