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...
0
Get Youtube ID from shared URL
ECMAScript (JavaScript)
Given a youtube URL ... pull the video ID
Submitted by
anonymous
-
4 years ago
0
获取导入的模块相对路径
ECMAScript (JavaScript)
获取导入的模块相对路径
Submitted by
高乐天
-
4 years ago
1
Persian words
PCRE2 (PHP >=7.3)
Regex for find persian letters in a string
Submitted by
Hamed Faryabi
-
4 years ago
0
MaskTDCView4D
Java 8
permite enmascarar la cadena de caracteres y deja mostrar los ultimos 4 digitos
Submitted by
anonymous
-
4 years ago
0
Domain from url
ECMAScript (JavaScript)
Domain from url
Submitted by
anonymous
-
4 years ago
0
Find between Quotes
ECMAScript (JavaScript)
Find between Quotes
Submitted by
anonymous
-
4 years ago
0
Text Search
ECMAScript (JavaScript)
Text Search
Submitted by
anonymous
-
4 years ago
0
identify duplicate consecutive words + word combinations to remove
PCRE2 (PHP >=7.3)
Identifies duplicate word and word combinations that exist consecutively within a string for removal. It is currently configured for up to 3 consecutive words but can be extended by adding additional (\s+\w)* to the first groups pattern match logic use with substitution val $1 good for removing d...
Submitted by
GrantO
-
4 years ago
0
aaa
PCRE2 (PHP >=7.3)
aaa
Submitted by
anonymous
-
4 years ago
0
mysql slow log parse for aws log insights
ECMAScript (JavaScript)
Parse the CloudWatch mysql slowlog into coherent fields.
Submitted by
Frank Baxter
-
4 years ago
0
my full name regex
PCRE (PHP <7.3)
Pattern means: Name must start with characters Only lowercase and uppercase characters is allowed Allowed special character: space
Submitted by
anonymous
-
4 years ago
0
my phone regex
PCRE (PHP <7.3)
Pattern means: Phone must start with 0 Length of Phone must be greater than or equal to 10 - 11 numbers Space or Special characters doesn't allow Character doesn't allow
Submitted by
anonymous
-
4 years ago
0
Pull Words from Sentence
Java 8
Simple little regex to pull words out of a sentence. Obviously \w+ exists, but this accounts for a few corner cases that would normally be missed. Things like let's or ten-four good-buddy.
Submitted by
Tony B.
-
4 years ago
0
Regex replace word in string if it is not a link
PCRE (PHP <7.3)
Stack: https://stackoverflow.com/a/31770688
Submitted by
anonymous
-
4 years ago
0
Regex to match words or phrases in string but NOT match if part of a URL or inside <a> </a> tags
Python
Stack: https://stackoverflow.com/a/6009552/13023113
Submitted by
anonymous
-
4 years ago
0
JS Parse rgb or rgba CSS string
PCRE2 (PHP >=7.3)
This will parse and give you the values of an RGB or RGBA CSS style.
Submitted by
Beau Beauchamp, WebTIGERS
-
4 years ago
0
Minecraft Color Code Regex
Java 8
Easy to remove minecraft color codes from strings.
Submitted by
Saniee
-
4 years ago
0
C-SUITE
PCRE (PHP <7.3)
Match the C-SUITE acronyms
Submitted by
TLDR; The OS
-
4 years ago
0
Regex Extrato
PCRE2 (PHP >=7.3)
Identificação do header do extrato, validando os códigos de banco FEBRABAN + Data + Agencia e Conta
Submitted by
Geraldo
-
4 years ago
0
Mayne Way Entertainment
PCRE2 (PHP >=7.3)
Hi Everyone, I am Lahyan Djeh Mayne Way Entertainment Founder&CEO http://fbuy.me/v/lahyandjeh# www.maynewayent.com maynewayent.com/https://wa.me/c/254725444492
Submitted by
Lahyan Djeh
-
4 years ago
1
...
216
217
218
219
220
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
(
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
){3}
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago