Regex Cheatsheet - Regular Expression Quick Reference

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

Share
Back to Regex Cheatsheet

Non-Whitespace Shorthand \S

Character Class

Matches any non-whitespace character

Pattern

\S

Examples

\S+

Matches non-whitespace sequence

Matches: hello, world123

Related Patterns

Related Tools

More Text Tools