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 12,080 community submitted regex patterns...
0
All Kenyan mobile number Regex
PCRE2 (PHP >=7.3)
Match against number sequence using international +254 or local 07 and 01 prefixes.
Submitted by
Faderr Blak
-
3 years ago
0
YouTube Video Validation Expression
PCRE2 (PHP >=7.3)
This expression validates if a string is a YouTube video. Note this will not work for playlists.
Submitted by
anonymous
-
3 years ago
0
YouTube Video Validation Expression
PCRE2 (PHP >=7.3)
This expression validates if a string is a YouTube video. Note this will not work for playlists.
Submitted by
UnrealApex
-
3 years ago
0
YouTube Video Id Extractor
PCRE2 (PHP >=7.3)
Extracts video id of YouTube videos. Note: will not work for playlists
Submitted by
UnrealApex
-
3 years ago
0
Extract pdc name and version from ApplicationContext-pdc.xml
PCRE2 (PHP >=7.3)
Extract pdc name and version from ApplicationContext-pdc.xml
Submitted by
anonymous
-
3 years ago
0
eliminate doublicated lines in DBCs after transofming TX-Message Attribs to Message-Attribs
PCRE2 (PHP >=7.3)
searches for doublicate lines starting with 'BA'
Submitted by
CZ_LMH
-
3 years ago
0
HTML -> echo in bat
PCRE2 (PHP >=7.3)
stage1: % to %% stage2: (\|\"|\;) to \^$1 ...
Submitted by
anonymous
-
3 years ago
0
my_lib
PCRE2 (PHP >=7.3)
without numbers
Submitted by
anonymous
-
3 years ago
0
BanRegex
PCRE2 (PHP >=7.3)
B站”刷寿命“弹幕屏蔽正则
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
my birthday pattern
PCRE (PHP <7.3)
must match format: yyyy-MM-dd
Submitted by
anonymous
-
3 years ago
0
获取秀人模特名字
PCRE2 (PHP >=7.3)
能够获取大部分具备标准格式的秀人套图的模特名字,但没办法解决本身名字中带有空格的问题
Submitted by
anonymous
-
3 years ago
0
Retrieve BSSID and signal strength from netsh
PCRE2 (PHP >=7.3)
Retrieve BSSID and signal strength from netsh
Submitted by
asasine
-
3 years ago
0
Remove bracketed text
PCRE2 (PHP >=7.3)
Remove bracketed text using substitution
Submitted by
markfullmer
-
3 years ago
0
First_Tests
PCRE2 (PHP >=7.3)
first tests
Submitted by
anonymous
-
3 years ago
0
Validate UUID
PCRE2 (PHP >=7.3)
Use this regex to validate a UUID
Submitted by
@eltonplima
-
3 years ago
0
Extract noun chunks
PCRE2 (PHP >=7.3)
Extract noun chunks in a sentence.
Submitted by
anonymous
-
3 years ago
0
array() to shorthand []
PCRE2 (PHP >=7.3)
PHP array() syntax to shorthand
Submitted by
anonymous
-
3 years ago
0
Search pages and youtube videos
PCRE2 (PHP >=7.3)
Regex to match URLs of search result pages and youtube videos.
Submitted by
Wei Li
-
3 years ago
0
Starts by # inside string
PCRE (PHP <7.3)
Match with starts by character "#" and follow number inside string
Submitted by
anonymous
-
3 years ago
0
[promtail] pod-controller
PCRE2 (PHP >=7.3)
matching pod-controller
Submitted by
anonymous
-
3 years ago
1
...
522
523
524
525
526
...
604
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?(DEFINE)
(?'loc_part'
[
\w
!#$%&'*+
\-\/
=?^`{|}~
]
+
)
(?'loc'
\g'loc_part'
(?:
\.
\g'loc_part'
)*
)
(?'subdom'
[
a
-
z
]
(?:
[
a
-
z
\d
-
]
*
[
a
-
z
\d
]
)?
)
(?'tld'
[
a
-
z
]
{2,6}
)
)
(?'local'
\g'loc'
)
@
(?'domain'
(?:
\g'subdom'
\.
)+
\g'tld'
)
/
ixg
Open regex in editor
Description
match some emails and extract their local part and domain
Submitted by
dang duomg 191
-
6 months ago
(Last modified 6 months ago)