Download a video

CLOUDE TOOLS · DEVELOPER TOOLS

Regex Tester

Test JavaScript regular expressions with match positions, groups and replace.

01 · YOUR INPUT

Set up your result

02 · YOUR RESULT

Output

Matches
2
#1 at 0: "alice@example.com"  groups: ["alice","example"]
#2 at 19: "bob@test.com"  groups: ["bob","test"]

HOW IT WORKS

How to use the Regex Tester

  1. Paste your input, adjust the options if needed, then press Run or watch the result update live.

  2. Check the options under the input if the tool offers any.

  3. Review the result below the form.

  4. Copy the result or download it where a download button is shown.

  5. Use “Load example” to see a representative input.

EXAMPLES & USE CASES

See it in action

Input

pattern="(\\w+)@(\\w+)\\.com", flags="g", text="alice@example.com, bob@test.com", replace=""

Output

Matches
2
#1 at 0: "alice@example.com"  groups: ["alice","example"]
#2 at 19: "bob@test.com"  groups: ["bob","test"]

DETAILED GUIDE

About the Regex Tester

Enter a pattern, flags and test text to see all matches, indexes and capture groups.

Try a replacement with $1 style groups.

FAQS & RESOURCES

Frequently asked questions

Which flavour?

JavaScript.

Flags?

g i m s u y.

Named groups?

Supported by JS.

Is this tool free?

Yes. Cloude Tools is free to use with no sign-up.

Is my data uploaded to a server?

No. This tool runs entirely in your browser, so what you enter never leaves your device.

Does it work on mobile?

Yes. The tool is designed to be fully usable on a phone.