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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 14,980 community submitted regex patterns...
2
ACTGatewaTranscript
PCRE (PHP <7.3)
Regex to find ACTGateway Transcript entries when discarding logs
Submitted by
jfilipek
-
8 years ago
1
Find Markdown links, but not image
PCRE (PHP <7.3)
no description available
Submitted by
Chuck
-
8 years ago
1
Fetch facebook id/slug from url
PCRE (PHP <7.3)
use part 6
Submitted by
AlmogBaku
-
8 years ago
1
Grab filepaths from `source` in a bash script
ECMAScript (JavaScript)
Useful for making a build script that compiles all sources into one file.
Submitted by
William George
-
8 years ago
1
?M ?L ?A
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
http request
PCRE (PHP <7.3)
no description available
Submitted by
Jonathan Rubin Yaniv
-
8 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
-
8 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
-
8 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)
-
8 years ago
2
Brazilian Telephone Regex
PCRE (PHP <7.3)
A regex for brazilian telephones
Submitted by
André Ramos (github.com/andrelramos)
-
8 years ago
1
split by slash
PCRE (PHP <7.3)
no description available
Submitted by
Stephen
-
8 years ago
1
CC Validation and Tests
PCRE (PHP <7.3)
no description available
Submitted by
PRPLrs
-
8 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
-
8 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
-
8 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
-
8 years ago
1
aws-elb-access-log
PCRE (PHP <7.3)
ELB log parser
Submitted by
Peker Mert Oksuz
-
8 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
-
8 years ago
1
<xs:pattern value="[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1}"/>
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
IP:Port
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
to:192.168.20.55:80
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
627
628
629
630
631
...
749
Get 'value' attribute in 'a' html tag
0
Regular Expression
ECMAScript (JavaScript)
/
<a
(?:
\s
+
[
\w
:-
]
+
(?:
\s
*
=
\s
*
(?:
(?:
"
[^
"
]
*
"
)
|
(?:
'
[^
'
]
*
'
)
|
[^
>
\s
]
+
)
)?
)*
\s
*
(?:
(
value
)
\s
*
=
\s
*
(?:
"
(
[^
"
]
*
)
"
)
)
(?:
\s
+
[
\w
:-
]
+
(?:
\s
*
=
\s
*
(?:
(?:
"
[^
"
]
*
"
)
|
(?:
'
[^
'
]
*
'
)
|
[^
>
\s
]
+
)
)?
)*
\s
*
>
/
gmi
Open regex in editor
Description
Regex used to avoid text-angular/angular $sanitize temporarily
Submitted by
Derek Severson
-
9 years ago