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 12,940 community submitted regex patterns...
0
Support post-livraison
ECMAScript (JavaScript)
Detect support post-livraison
Submitted by
anonymous
-
a year ago
0
Parse getopt options from a Bash script
PCRE (PHP <7.3)
This will parse the parameters/arguments that a Bash script when it uses getopt(s). Groups: name,short,long,while Example cases: ...
Submitted by
Spyingwind
-
a year ago
0
Mysite
PCRE (PHP <7.3)
Hello
Submitted by
anonymous
-
a year ago
0
VTT and SRT parser
ECMAScript (JavaScript)
(?:^|(? ([0-2]\d:[0-5]\d:[0-5]\d[.,]\d{3})(.*?)((?:\d+\n)?(?=[0-2]\d:[0-5]\d:[0-5]\d[.,]\d{3})|$)
Submitted by
anonymous
-
a year ago
0
OmegaT
Java 8
regular expressions used in OmegaT
Submitted by
anonymous
-
a year ago
0
Different date format and label them accordingly
ECMAScript (JavaScript)
Classify \d\d \/ \d\d \/ \d{4} \w* \d\d, \d{4} \d{4}-\d\d-\d\d and label them
Submitted by
anonymous
-
a year ago
0
Regex Colon Code For Emoji
PCRE (PHP <7.3)
Groups the ID, and finds the whole colon code
Submitted by
ZackiBoiz
-
a year ago
(Last modified a year ago)
0
Typescript Types
ECMAScript (JavaScript)
get all typescript types, as well as imports and exports
Submitted by
snuffyDev
-
a year ago
0
Isolate some string (any caracthers) in between isolators, none or many
PCRE (PHP <7.3)
This expression isolates a string or many strings of any caracthers that are preceded and are followed by a pair of colons in a long text string. Practical for tooltip insertion. Find a word in the string, search in the database, construct the tooltip and insert within the returned string. Use wi...
Submitted by
Marc De Gagné
-
a year ago
0
Password
Java 8
Password
Submitted by
Mohammed Elshaboury
-
a year ago
0
semantic tags
PCRE (PHP <7.3)
semantic tags
Submitted by
anonymous
-
a year ago
0
匹配不以 http 开头的图片
ECMAScript (JavaScript)
匹配不以 http 开头的图片
Submitted by
anonymous
-
a year ago
0
正则匹配markdown中的图片 但排除 http 开头的地址
ECMAScript (JavaScript)
正则匹配markdown中的图片 但排除 http 开头的地址
Submitted by
anonymous
-
a year ago
0
Padrão - numeração de contrato CAIXA
ECMAScript (JavaScript)
teste
Submitted by
anonymous
-
a year ago
0
elasticsearch exception explain regex
Java 8
throw elasticsearch exception logger info, find exception type and reason field
Submitted by
jason
-
a year ago
0
Removing port number from URL
ECMAScript (JavaScript)
Find port number and remove it from URL
Submitted by
M Rivas
-
a year ago
0
service selector parser
ECMAScript (JavaScript)
HV Platform
Submitted by
anonymous
-
a year ago
0
CPF
ECMAScript (JavaScript)
Regex para encontrar um CPF no formato: 999.999.999-99
Submitted by
@rafaelteruyuki
-
a year ago
(Last modified a year ago)
0
CEP
ECMAScript (JavaScript)
Match Brazilian zipcode pattern (CEP): 99999-999
Submitted by
@rafaelteruyuki
-
a year ago
(Last modified a year ago)
0
Telefone fixo com DDD
ECMAScript (JavaScript)
Matches the pattern (99) 999-999
Submitted by
@rafaelteruyuki
-
a year ago
(Last modified a year ago)
1
...
638
639
640
641
642
...
647
URL regexp
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
-
11 years ago