Regex Tokens
Regular expression tokens and their meanings, with examples and categories.
Download optionsThe records
The 10 most recently added of 52 records · Select a column heading to sort.
| ID | Token | Meaning | Example | Category |
|---|---|---|---|---|
| 43 | \) | Matches a literal closing parenthesis | \(a\) | Escape |
| 44 | \[ | Matches a literal opening square bracket | \[a\] | Escape |
| 45 | \{ | Matches a literal opening curly brace | \{a\} | Escape |
| 46 | \| | Matches a literal vertical bar | a\|b | Escape |
| 47 | \^ | Matches a literal caret character | \^abc | Escape |
| 48 | \$ | Matches a literal dollar sign | abc\$ | Escape |
| 49 | \t | Matches a horizontal tab character | a\tb | Escape |
| 50 | \n | Matches a line feed character | a\nb | Escape |
| 51 | \r | Matches a carriage return character | a\rb | Escape |
| 52 | \0 | Matches a NUL character | \0 | Escape |
Free sample files (up to 10 rows): CSV JSON XML
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)
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.