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 15,220 community submitted regex patterns...
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
cuda with gpu-number regex
Python
Used for torch.device handling, so 'cuda' and 'cuda:0' both valid and can be used
Submitted by
Ilya Lubenets
-
a year ago
(Last modified 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
Anime Xdcc Name + Episode Regex
Golang
Parse XDCC filename strings for a name and episode. Appears to work for most major bots but unreliable for any data other than name and episode number/version
Submitted by
anonymous
-
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
Content inside string
Python
Will match any character inside " or '
Submitted by
anonymous
-
a year ago
0
REACT SDK V3
Golang
React SDK V3
Submitted by
anonymous
-
a year ago
0
Password
Java 8
Password
Submitted by
Mohammed Elshaboury
-
a year ago
0
GO SDK V2
Golang
Go SDK v2
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Kt SDK V2
Golang
kt SDKV2
Submitted by
anonymous
-
a year ago
(Last modified 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
non capturing (a|b|c)가 그룹으로 지정되지 않게 함.
Python
\[[0-9]{4}-[0-9]{2}-[0-9]{2}\](\[(?:debug|warning|error)\]).*
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
WIP detector
Python
Detect WIP strings in a git commit.
Submitted by
anonymous
-
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
1
...
747
748
749
750
751
...
761
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