Regex Cheatsheet - Regular Expression Quick Reference

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

Share
Back to Regex Cheatsheet

Dot All Flag s

Flag

dotAll mode - dot (.) also matches newline

Pattern

/pattern/s

Examples

/.+/s

Match text across multiple lines

Matches: line1 line2

Related Tools

More Text Tools