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,000 community submitted regex patterns...
1
Music Notes
PCRE (PHP <7.3)
regex that identifies music notes written with A, B, ..., A#, C#, ... Ab, Bb, ... notation.
Submitted by
anonymous
-
9 years ago
1
general script detection
PCRE (PHP <7.3)
This is a input regex for invaliding inputs that are likely to be scripts. this is a way to hidder xss attacks on your web application and api.
Submitted by
ivan
-
9 years ago
1
Regex for the brazilian CNPJ
PCRE (PHP <7.3)
A regex for the brazilian document named of CNPJ (Cadastro Nacional de Pessoa Jurídica)
Submitted by
André Ramos (github.com/andrelramos)
-
9 years ago
2
Brazilian Telephone Regex
PCRE (PHP <7.3)
A regex for brazilian telephones
Submitted by
André Ramos (github.com/andrelramos)
-
9 years ago
1
split by slash
PCRE (PHP <7.3)
no description available
Submitted by
Stephen
-
9 years ago
1
CC Validation and Tests
PCRE (PHP <7.3)
no description available
Submitted by
PRPLrs
-
9 years ago
0
RFC Email address attempt
PCRE (PHP <7.3)
This looks to attempt to validate email addresses per the RFC. I don't know how accurate it is.
Submitted by
anonymous
-
9 years ago
1
Fanfiction.net Genres
PCRE (PHP <7.3)
Matches a string if it contains any of the valid FFN genres.
Submitted by
anonymous
-
9 years ago
3
Firt letter of names capitalize with exceptions
ECMAScript (JavaScript)
Check if brazilian names are imputed correctly. Ex: Paulo da Silva
Submitted by
William
-
9 years ago
1
aws-elb-access-log
PCRE (PHP <7.3)
ELB log parser
Submitted by
Peker Mert Oksuz
-
9 years ago
3
Removes duplicate lines in text editor
PCRE (PHP <7.3)
"dot matches newline" must be activated. Search and replace by "" (empty string) removes duplicate lines anywhere in text. Example for Notepad++ use shown under http://stackoverflow.com/questions/3958350/removing-duplicate-rows-in-notepad
Submitted by
Stackoverflow user stema
-
9 years ago
1
<xs:pattern value="[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1}"/>
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
IP:Port
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
to:192.168.20.55:80
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
url validation HTML5
ECMAScript (JavaScript)
This is validation that is used in html5 for validate the url. http://www.faqs.org/rfcs/rfc3987.html
Submitted by
Alex Matos
-
9 years ago
0
last name|firstname|463
PCRE (PHP <7.3)
no description available
Submitted by
Chris
-
9 years ago
1
G-Code 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
1
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
nginx_luedong
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-1
Hostname validator
PCRE (PHP <7.3)
Validates the format of IPv4/IPv6 hostnames as well as domain names.
Submitted by
anonymous
-
9 years ago
1
...
765
766
767
768
769
...
900
Community Library Entry
0
Regular Expression
Python
r"
(?P<Month>
(?:
01
|
02
|
03
|
04
|
05
|
06
|
07
|
08
|
09
|
10
|
11
|
1
|
2
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
January
|
February
|
March
|
April
|
May
|
June
|
July
|
August
|
September
|
October
|
November
|
December
)
)
[
\-
/
\\
\s
]
+
(?P<Day>
[
0
-
3
]
?
\d
)
[
\-
/
\\
\s
]
+
(?P<Year>
\d
+
)
"
gi
Open regex in editor
Description
Parses date in (Month Day Year) format with delimiting chars being -/ or whitespace
Submitted by
Awk
-
9 years ago