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 18,040 community submitted regex patterns...
0
single line acronym
Python
no description available
Submitted by
anonymous
-
9 years ago
0
letters and _- followed by _000999
PCRE (PHP <7.3)
no description available
Submitted by
Pizzirani Andrea - Italy
-
9 years ago
0
DateTime YYYYMMDDhhmmss (with leap year)
PCRE (PHP <7.3)
Validates DateTime of format YYYYMMDDhhmmss including Leap Year
Submitted by
Alex
-
9 years ago
0
NATO Stock Number (with or without NSC)
PCRE (PHP <7.3)
RegEx to validate a NATO Stock Number with or without the NATO Stock Code and with or without dashes
Submitted by
Matthew Perryman
-
9 years ago
0
Email
ECMAScript (JavaScript)
validate email address
Submitted by
anonymous
-
9 years ago
0
url segments seperation
PCRE (PHP <7.3)
seperates url path and query
Submitted by
r.abdollahi
-
9 years ago
0
Capture subsubsub sections of constitution/bylays
PCRE (PHP <7.3)
Will only capture patterns matching 4 levels, found at the beginning of a line if /gm tag is used
Submitted by
bsmith
-
9 years ago
0
Match 0-100
ECMAScript (JavaScript)
http://stackoverflow.com/questions/34474298/regex-match-pattern-with-prefixed-string/34474387#34474325
Submitted by
anonymous
-
9 years ago
0
Find missing space around operators (=, +, -, *, /)
Python
no description available
Submitted by
rugk
-
9 years ago
0
IP address a.b.c.d form with range from 0 to 255 for each letters
Python
Are you pissed off with your regular expression homework? well then. here is the answer. ^([0-9]|1-9|1(0-9)|2(0-4|5[0-5]))\.([0-9]|1-9|1(0-9)|2(0-4|5[0-5]))\.([0-9]|1-9|1(0-9)|2(0-4|5[0-5]))\.([0-9]|1-9|1(0-9)|2(0-4|5[0-5]))$
Submitted by
Abdulaziz
-
9 years ago
0
switch case statemen in C++
PCRE (PHP <7.3)
Match switch case statemen in C++
Submitted by
Денис Суховерхов
-
9 years ago
0
dd-mmm-yyyy dd/mmm/yyyy dd.mmm.yyyy
ECMAScript (JavaScript)
it accept -, / and . operator date formate 29-Dec-2015
Submitted by
Abhijeet Joshi,
-
9 years ago
0
3-50 all
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Facebook ID in Links or Widgets
PCRE (PHP <7.3)
Find the ID/name of facebook users/pages in widgets, or links.
Submitted by
anonymous
-
9 years ago
0
Float Representations
PCRE (PHP <7.3)
no description available
Submitted by
S-YOU
-
9 years ago
0
Credit Card Validator
PCRE (PHP <7.3)
For Visa, Mastercard, Discover, and AMEX
Submitted by
David Avellan
-
9 years ago
0
Date formatting
ECMAScript (JavaScript)
This catches a few formats for dates, including the year, and seperates as much as I think at the moment is possible to make it easy to manipulate the needed data points in the expression
Submitted by
Luis Perez
-
9 years ago
0
Remove Javascript Single Line Comment
PCRE (PHP <7.3)
Yancharuk's code/regex
Submitted by
Yancharuk
-
9 years ago
0
Minify css selectors
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Yealink XML Phonebook entry
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
43
44
45
46
47
...
902
Community Library Entry
2
Regular Expression
ECMAScript (JavaScript)
/
^
\{
(
(?:
(?:
(?!
\}
)
.
)+
)
(?:
(?:
\}\}
|
\}
'
)?
(?:
(?:(?!
\}
)
.
)*
)
)+
)
\}
(?!
\}
)
/
gm
Open regex in editor
Description
no description available
Submitted by
OnlineCop
-
10 years ago