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 4,240 community submitted regex patterns...
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)
HTML Document or Fragment Heuristic
Python
From the StackOverflow question "Check if a string is html or not" there are many examples and a few approaches, some more expensive than others. Full DOM parsing and detecting constructed DOM elements is sure-fire, but slow, requiring a browser with parser and DOM representation. Regular expression...
Submitted by
Alice Bevan-McGregor
-
2 years ago
2021-08-09 15:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get number in the middle of string
Python
From Rp. 1.000.005,52 (35 %) to 1.000.005,52
Submitted by
anonymous
-
2 years ago
2021-08-09 16:12
(Last modified 2 years ago)
2021-08-09 19:54
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)
Replace First and Last Word in string
Python
From Rp. 1000 (3 %) to 1000
Submitted by
anonymous
-
2 years ago
2021-08-09 20:01
(Last modified 2 years ago)
2021-08-10 04:48
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)
Finds all forms of "согласен" words
Python
Finds all forms of "согласен" words
Submitted by
anonymous
-
2 years ago
2021-08-11 11:25
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)
SC Log Line Explanation
Python
Matches elements of a log entry from SC.
Submitted by
G.E. Hatt Jr
-
2 years ago
2021-08-13 02:45
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)
yaml file names with alternatives
Python
matches any file with *.yml or *.yaml
Submitted by
anonymous
-
2 years ago
2021-08-14 15:42
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
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Shoes - Servers Related to an Application
PCRE2 (PHP >=7.3)
Paste in the ... portion of the Application page and this expression should extract the list of servers for you.
Submitted by
Cory
-
2 years ago
2021-08-16 15:43
1
...
88
89
90
91
92
93
94
...
212
match all printable basic ASCII characters in c++
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
[
-
~
]
{1,}
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
zhongmeng Yu
-
2 years ago
2021-05-29 05:31