Technology · Reference dataset
Regex Tokens
Regular expression tokens and their meanings, with examples and categories.
$69 once covers this and 401 other datasets, plus 33 collections, for 365 days. No automatic renewal. Have a pass?

Preview the records
First 5 and last 5 of 52 records · Last changed July 19, 2026
| Token | Meaning | Example | Category |
|---|---|---|---|
| . | Matches any character except line terminators | a.c | Character class |
| \d | Matches any digit from 0 to 9 | \d\d | Character class |
| \D | Matches any character that is not a digit | \D+ | Character class |
| \w | Matches any letter, digit, or underscore | \w+ | Character class |
| \W | Matches any character that is not a word character | \W | Character class |
| 42 more records · Download options | |||
| \$ | Matches a literal dollar sign | abc\$ | Escape |
| \t | Matches a horizontal tab character | a\tb | Escape |
| \n | Matches a line feed character | a\nb | Escape |
| \r | Matches a carriage return character | a\rb | Escape |
| \0 | Matches a NUL character | \0 | Escape |
Free sample files (up to 10 rows): CSV JSON XML
Open the sample in a free tool: CSV to JSON · JSON formatter · SQL INSERT generator · CSV to XML
CSV / JSON / XML
Put this data to work.
All 52 records, in your choice of format.
The free sample stops at 10 rows. A Data Pass removes the limit here and across the site, so you can stop collecting data and start using it.
- Every record in 402 datasets, this one included
- All 33 collections in full: more than 4 million rows of ZIP codes, schools, occupations and more
- CSV, JSON and XML, whole-category ZIPs, and 2,500 API requests a day
$69 once, for 365 days. No subscription and no automatic renewal, and what you download is yours to keep using.
Your key arrives by email after payment. Use it here to download the complete file.
Or share what you build with it and, if approved, get 75% off a Data Pass. See the contributor program
Already have a pass?
Your key is used for this request and is not saved by this page.
Commercial use is allowed, free or paid.
Downloaded a CSV? Convert CSV to JSON, generate SQL inserts, remove duplicate lines, or sort a list with the free tools.
Scope and sources
Last checked against sources: October 16, 2026.
Last changed: July 19, 2026. This is when we last changed the data or its description. It doesn’t mean the data runs up to that date.
- MDN Web Docs: Regular expressions cheatsheet (used with permission)
Regex Tokens has 52 records and 4 fields: Token, Meaning, Example, Category.
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.