Small ToolsAll tools
← All tools / Regex
Regex utility

Regex Reference

Review common JavaScript regex tokens, character classes, and examples.

● This tool runs entirely in your browser. Your input is never uploaded to our servers.

This is a static syntax guide. Select Show Reference to display it.

Output
Your result will appear here…

How to use Regex Reference

  1. Select Show Reference to load the syntax guide.
  2. Use the examples as a starting point for a pattern.
  3. Open Regex Tester to try a pattern against text.

Example

Input:

Output:

\d — digit
\w — ASCII word character
\s — whitespace
^ — start of input
$ — end of input
+ — one or more

Use cases

About this tool

Review common JavaScript regex tokens, character classes, and examples. Processing happens locally in your browser, so your input is not sent to a server or included in analytics.

Frequently asked questions

Does this reference cover JavaScript regex?

Yes. Examples follow the regular expression syntax supported by JavaScript RegExp.

Does it execute examples?

No. It is a static reference; use Regex Tester to test patterns.

Are all regex features universal?

No. Regex syntax differs between languages, so check the target language when porting a pattern.

Related tools