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 11,500 community submitted regex patterns...
1
Tripmix selectors for 2015 reprocess
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Matches only word without specific HTML tag around it.
PCRE (PHP <7.3)
This will match a word that is not wrapper by the a specified HTML element (with a class).
Submitted by
Johnny Ji
-
9 years ago
1
sql select request
PCRE (PHP <7.3)
matching any SQL query starting by "SELECT foo,bar FROM fool,baz {...}" this one is the good one. first one have a matching alowing * in the FROM statement.
Submitted by
klmmlk
-
9 years ago
1
match bot commands
PCRE (PHP <7.3)
match bot commands in the first at starting of line only egs - /hi
Submitted by
anonymous
-
9 years ago
1
get request split parameters groups
PCRE (PHP <7.3)
no description available
Submitted by
Roy
-
9 years ago
2
ACTGatewaTranscript
PCRE (PHP <7.3)
Regex to find ACTGateway Transcript entries when discarding logs
Submitted by
jfilipek
-
9 years ago
1
Find Markdown links, but not image
PCRE (PHP <7.3)
no description available
Submitted by
Chuck
-
9 years ago
1
Fetch facebook id/slug from url
PCRE (PHP <7.3)
use part 6
Submitted by
AlmogBaku
-
9 years ago
1
?M ?L ?A
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
signal
Python
no description available
Submitted by
anonymous
-
9 years ago
1
message
Python
no description available
Submitted by
anonymous
-
9 years ago
1
http request
PCRE (PHP <7.3)
no description available
Submitted by
Jonathan Rubin Yaniv
-
9 years ago
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
1
...
469
470
471
472
473
...
575
Community Library Entry
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
12 years ago