Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 2,540 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
2 years ago
2021-08-04 22:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
2 years ago
2021-08-04 22:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
YouTube Video Id Extractor
PCRE2 (PHP >=7.3)
Extracts video id of YouTube videos. Note: will not work for playlists
Submitted by
UnrealApex
-
2 years ago
2021-08-04 22:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
2 years ago
2021-08-05 00:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
2 years ago
2021-08-05 06:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML -> echo in bat
PCRE2 (PHP >=7.3)
stage1: % to %% stage2: (\|\"|\;) to \^$1 ...
Submitted by
anonymous
-
2 years ago
2021-08-06 19:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
my_lib
PCRE2 (PHP >=7.3)
without numbers
Submitted by
anonymous
-
2 years ago
2021-08-06 19:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
BanRegex
PCRE2 (PHP >=7.3)
B站”刷寿命“弹幕屏蔽正则
Submitted by
anonymous
-
2 years ago
2021-08-08 06:41
(Last modified 2 years ago)
2021-09-09 15:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
获取秀人模特名字
PCRE2 (PHP >=7.3)
能够获取大部分具备标准格式的秀人套图的模特名字,但没办法解决本身名字中带有空格的问题
Submitted by
anonymous
-
2 years ago
2021-08-08 15:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
select
Java 8
select\s+(\|((\w+(\.\w+)?)+(\s?,\s?\w+(\.\w+)?))|((\w+\(|(\w+\.\w+)?\))(\s+\,\s+)?)+)\s+from\s+(\w+(\s?,\s?\w+)*\;?)(\s+((\w+\s+join)\s+(\w+(\.\w)?\s+on\s+(\w+(\.\w+)?\s+=\s+\w+(\.\w+)?)?)(\s+,\s+)?)+)?(\s+((limit\s+(\w+)?\s?(\,\w+\;)?)|((where)?\s+?(+\s?;))))?
Submitted by
anonymous
-
2 years ago
2021-08-08 17:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Retrieve BSSID and signal strength from netsh
PCRE2 (PHP >=7.3)
Retrieve BSSID and signal strength from netsh
Submitted by
asasine
-
2 years ago
2021-08-09 16:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove bracketed text
PCRE2 (PHP >=7.3)
Remove bracketed text using substitution
Submitted by
markfullmer
-
2 years ago
2021-08-09 19:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
First_Tests
PCRE2 (PHP >=7.3)
first tests
Submitted by
anonymous
-
2 years ago
2021-08-09 21:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Validate UUID
PCRE2 (PHP >=7.3)
Use this regex to validate a UUID
Submitted by
@eltonplima
-
2 years ago
2021-08-10 09:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract noun chunks
PCRE2 (PHP >=7.3)
Extract noun chunks in a sentence.
Submitted by
anonymous
-
2 years ago
2021-08-10 21:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
array() to shorthand []
PCRE2 (PHP >=7.3)
PHP array() syntax to shorthand
Submitted by
anonymous
-
2 years ago
2021-08-11 08:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Search pages and youtube videos
PCRE2 (PHP >=7.3)
Regex to match URLs of search result pages and youtube videos.
Submitted by
Wei Li
-
2 years ago
2021-08-11 09:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
[promtail] pod-controller
PCRE2 (PHP >=7.3)
matching pod-controller
Submitted by
anonymous
-
2 years ago
2021-08-13 02:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Laravel scheduler call method
PCRE2 (PHP >=7.3)
Validate and get parameters for Laravel scheduler
Submitted by
Mauricio Alexander Flórez
-
2 years ago
2021-08-13 09:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find PHP short open tags
PCRE2 (PHP >=7.3)
Find PHP short open tags
Submitted by
anonymous
-
2 years ago
2021-08-16 15:35
1
...
42
43
44
45
46
47
48
...
127
Our Box # Format Reader/Checker
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?'box_string'
T
(?'mod_id'
[
0
-
9
]
{4}
)
(?'box_num'
[
0
-
9
]
{1,}
)
)
(?'comma_qty'
,
(?'qty'
[
0
-
9
]
{1,}
)
)?
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
edp9884
-
2 years ago
2021-10-21 16:12