← All tools
.*Developer

Regex Tester

Test JavaScript regular expressions against sample text and inspect matches.

Input

Regex Matches

1. "[email protected]" at index 8
2. "[email protected]" at index 28

How to use Regex Tester

Step 1

Enter a JavaScript regex pattern without surrounding slashes.

Step 2

Add flags like g, i, or m when needed.

Step 3

Review all matches and their positions.

Example

Sample input

Regex pattern
\b[\w.%+-]+@[\w.-]+\.[A-Za-z]{2,}\b
Flags
gi

Result preview

1. "[email protected]" at index 8
2. "[email protected]" at index 28

FAQ

Is the regex tester free to use?

Yes. This developer calculator is free and runs as an educational planning tool.

Is this financial advice?

No. Results are estimates for calculation and education only, not financial, tax, legal, or investment advice.