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...
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
Markdown Header
PCRE (PHP <7.3)
no description available
Submitted by
lasta
-
9 years ago
1
IP URL
PCRE (PHP <7.3)
Get all URLS that are IP Based URLS
Submitted by
notrin
-
9 years ago
1
...
767
768
769
770
771
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
get
|
post
|
head
|
options
|
put
|
delete
|
trace
|
connect
)
[
\x09-\x0d
-
~
]
*
?
http
\/
(
0
\.
9
|
1
\.
0
|
1
\.
1
)
|
^
http
\/
(
0
\.
9
|
1
\.
0
|
1
\.
1
)
[
1
-
5
]
[
0
-
9
]
[
0
-
9
]
/
si
Open regex in editor
Description
For use with router layer 7 filtering, will detect intial connection or initial response
Submitted by
Andrew Cox
-
9 years ago