All datasets

Regex Tokens

Regular expression tokens and their meanings, with examples and categories.

Download options

The records

10 of 52 records ยท Select a column heading to sort.

ID Token Meaning Example Category
1 . Matches any character except line terminators a.c Character class
2 \d Matches any digit from 0 to 9 \d\d Character class
3 \D Matches any character that is not a digit \D+ Character class
4 \w Matches any letter, digit, or underscore \w+ Character class
5 \W Matches any character that is not a word character \W Character class
6 \s Matches any whitespace character \s+ Character class
7 \S Matches any character that is not whitespace \S+ Character class
8 [abc] Matches any one of the characters a, b, or c [abc] Character class
9 [^abc] Matches any character that is not a, b, or c [^abc] Character class
10 [a-z] Matches any character in the range a to z [a-z] Character class

Scope and sources

Last changed: July 19, 2026. This may reflect a change to the data or its description; it is not a coverage-through date.

A complete download includes all 52 records currently held in this dataset. Check the description and sources to decide whether its scope fits your project.

Use this dataset through the API
GET https://mysafeinfo.com/api/data/regextokens

Choose a format, sort, or request fewer rows. A pass key gives access to the complete dataset. See the examples and parameters.

Without a pass, sorting and randomization apply only to the fixed 10-row sample.

More in Technology

HTTP Method Registry Country-Code Top-Level Domains CSS Properties File Extensions Git Commands Linux Commands

Download a category with your pass