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 Question Mark \?

Escape

Matches a literal question mark

Pattern

\?

Examples

a\?b

Matches literal a?b

Matches: a?b

\?\w+=\w+

Match query parameter

Matches: ?key=value

Related Tools

More Text Tools