Regex Cheatsheet - Regular Expression Quick Reference

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

Share
Back to Regex Cheatsheet

Unicode Escape \u{...}

Escape

Matches Unicode character via hex code point

Pattern

\u{1F600}

Syntax

Explanation

Use the u flag. \u{1F600} matches the 😀 emoji.

Examples

\u{1F600}

Match 😀 emoji

Matches: 😀

[\u{4E00}-\u{9FFF}]

Match CJK character range

Matches: 中, 文

Related Tools

More Text Tools