Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 17,980 community submitted regex patterns...
1
Search "smarty" tags
PCRE (PHP <7.3)
Example: Home page | {$site_name|to_small}
Submitted by
Marek Ulwański
-
9 years ago
1
weather
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
iOS Localizable.strings parser
Python
Can be used to find all keys and values in .strings file. Matching pattern: "key" = "value";
Submitted by
Natan Zalkin
-
9 years ago
1
Two Line Element (TLE) validation
PCRE (PHP <7.3)
no description available
Submitted by
Michael Lodge-Paolini
-
9 years ago
1
C++ operator overload
PCRE (PHP <7.3)
"Lazy" operator overload regular expression: += and likes are left out because + and like matches anyway.
Submitted by
Guba Dániel Olivér
-
9 years ago
0
French telephone number
PCRE (PHP <7.3)
Match french telephones numbers. Allows space, dot and dash between pairs of numbers.
Submitted by
bsymon
-
9 years ago
0
purge creo model
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
symfe - Group with exclusions
PCRE (PHP <7.3)
Select from a pattern a group without some parameters
Submitted by
symfe
-
9 years ago
1
Recherche email
PCRE (PHP <7.3)
Recherche un email
Submitted by
G Morelle
-
9 years ago
1
decoupeur de chaines selon les +-
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
cron expression
ECMAScript (JavaScript)
This is a relaxed cron validation, meaning that any valid cron expression should pass this; but not anything that passes regex validation is a good cron expression. Used as preliminary validation in web ui. Supports all special characters. Includes seconds field.
Submitted by
enlait
-
9 years ago
-3
Telephone
PCRE (PHP <7.3)
Find Telephone
Submitted by
Mr.Fail
-
9 years ago
1
ip address @pexipdemo.com
Python
no description available
Submitted by
anonymous
-
9 years ago
0
Italy mobile phone numbers
PCRE (PHP <7.3)
Matches current mobile phone numbers in Italy
Submitted by
Carlos Interactive3g
-
9 years ago
0
Spain mobile phone numbers
PCRE (PHP <7.3)
Matches current mobile telephone numbers in Spain.
Submitted by
Carlos Interactive3g
-
9 years ago
1
Safe words and dirty words
PCRE (PHP <7.3)
This regex matches "bob" but does not match "abob", "bobb" or "cbobd" while it does match "cbob" and "bobd". Here "bob" is the dirty word and "abob", "bobb" and "cbobd" are safe phrases
Submitted by
Alex
-
9 years ago
1
Find only ".config" file names
PCRE (PHP <7.3)
Will find lines that end with "/*.config"
Submitted by
Dee
-
9 years ago
0
apache log analysis
Python
no description available
Submitted by
anonymous
-
9 years ago
1
RGB colors
PCRE (PHP <7.3)
Matches all the RGB colors in the format #RRGGBB and #RGB
Submitted by
Gabriel Hautclocq
-
9 years ago
1
validate_invoiceid_with_yy
PCRE (PHP <7.3)
Validate an ivoice number with the last two digit as last 2 year digit
Submitted by
ema
-
9 years ago
1
...
104
105
106
107
108
...
899
Community Library Entry
7
Regular Expression
Python
r"
@import
\b.
*
[
\"
'
]
(
[^
)
]
*
)
[
\"
'
]
"
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
10 years ago