Regex Cheatsheet - Regular Expression Quick Reference

Quick reference for regular expression patterns. Character classes, quantifiers, anchors, and common patterns.

Share
Back to Regex Cheatsheet

Literal Parentheses \( \)

Escape

Matches literal parentheses

Pattern

\(|\)

Examples

\(\d{3}\)\s\d{3}-\d{4}

Match US phone number

Matches: (555) 123-4567

Related Patterns

Related Tools

More Text Tools