Regex Tester
/
/
Test String
0 chars
0 match(es)
Matches
Common Patterns Library
مساحة إعلانية
About this Tool
Regex Tester — Test and Learn Regular Expressions
Regular expressions (Regex) are a powerful pattern-matching language used in virtually every programming language for searching, validating, and transforming text.
Common Flags
- g (global): find all matches, not just the first
- i (case insensitive): match regardless of letter case
- m (multiline): ^ and $ match start/end of each line
- s (dotAll): dot matches newlines too
Essential Symbols
.— any char ·\d— digit ·\w— word char ·\s— whitespace*— 0 or more ·+— 1 or more ·?— 0 or 1 ·{n,m}— between n and m^— line start ·$— line end ·\b— word boundary()— capture group ·(?:)— non-capturing ·(?=)— lookahead
مساحة إعلانية
Main Categories
Money & Business
Daily Life
Content & Creative
Challenges & Games