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 11,880 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
XML/HTML Tag selector
PCRE2 (PHP >=7.3)
Pros: Attribute-aware (but not complete parse) Content-aware (text only) Cons: Might poor performance (unnecessary matches if you work on a ssr thing)...
Submitted by
stdpi
-
15 days ago
2023-11-20 09:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
traveloka accomodation url
PCRE2 (PHP >=7.3)
match traveloka accomodation url
Submitted by
anonymous
-
16 days ago
2023-11-18 12:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Traveloka match url accomodation only
PCRE2 (PHP >=7.3)
match url for traveloka accomodation
Submitted by
anonymous
-
16 days ago
2023-11-18 12:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Akamai - Extended + Custom field + GhostIP + CacheStatus + WAF
PCRE2 (PHP >=7.3)
Akamai LDS log format - Extended + Custom field + GhostIP + CacheStatus + WAF
Submitted by
anonymous
-
17 days ago
2023-11-17 15:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
SUT - Package Matching
PCRE2 (PHP >=7.3)
test
Submitted by
MHE
-
18 days ago
2023-11-17 10:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
integer only
PCRE2 (PHP >=7.3)
^[0-9]+$
Submitted by
anonymous
-
19 days ago
2023-11-16 08:21
(Last modified 19 days ago)
2023-11-16 08:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Check Email Validity
Java 8
Regular expression to check the email syntax validity. Certainly requires improvement, but it's a good basis to work from. Work with Java and JavaScript.
Submitted by
Alain TOMASIAN <alain.tomasian@kaptus.fr>
-
19 days ago
2023-11-15 10:54
(Last modified 19 days ago)
2023-11-15 17:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Gradient for minecraft
Java 8
This is for my plugin project
Submitted by
Trần Thế Anh
-
21 days ago
2023-11-14 09:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
nmcli WiFi list
PCRE2 (PHP >=7.3)
Extract different fields from the list output of nmcli: nmcli --terse --colors no --fields IN-USE,BSSID,SSID,MODE,CHAN,RATE,SIGNAL,BARS,SECURITY,FREQ,DEVICE device wifi list
Submitted by
Simon Bagley
-
21 days ago
2023-11-13 14:41
(Last modified 21 days ago)
2023-11-13 14:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
77870294
PCRE (PHP <7.3)
618001/041881 564094
Submitted by
960203095053
-
22 days ago
2023-11-12 11:36
(Last modified 22 days ago)
2023-11-12 11:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Cedula Paraguaya con Digito Verificador
PCRE2 (PHP >=7.3)
Valida la C.I. de Paraguay con DV (Opcional)
Submitted by
anonymous
-
23 days ago
2023-11-11 16:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Translations Regex
PCRE2 (PHP >=7.3)
Traduções pra ajudar a encontrar as mensagens em cada caso
Submitted by
anonymous
-
25 days ago
2023-11-09 15:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
regex vietnam number phone
PCRE2 (PHP >=7.3)
regex phone number all telco in Vietnam. at 11/08/2023
Submitted by
hao.nguyen
-
a month ago
2023-11-08 03:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Unicode Mixed Case Word Detector
PCRE2 (PHP >=7.3)
Detects mixed case words using Unicode
Submitted by
Hooge
-
a month ago
2023-11-07 17:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Функции с сайта
PCRE2 (PHP >=7.3)
(\\)(.+)(\\)
Submitted by
anonymous
-
a month ago
2023-11-07 06:17
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Files
PCRE2 (PHP >=7.3)
Files
Submitted by
anonymous
-
a month ago
2023-11-06 08:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Folders
PCRE2 (PHP >=7.3)
Folders
Submitted by
anonymous
-
a month ago
2023-11-06 08:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Simple path detector
PCRE2 (PHP >=7.3)
Detect paths under Windows format.
Submitted by
._thunderstrike
-
a month ago
2023-11-05 12:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Domain name validator
PCRE2 (PHP >=7.3)
Validates domain names. Support https:// or http:// prefix.
Submitted by
._thunderstrike
-
a month ago
2023-11-05 10:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
blek! File ResourceD resource regex
PCRE2 (PHP >=7.3)
Used in https://git.blek.codes/blek/bfile
Submitted by
anonymous
-
a month ago
2023-11-05 02:11
1
2
3
4
5
...
594
入门学习
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^\d
{1,2}
\.
*
【判断题】
*
(
.
+
)
\n
*
【答案】
*
(
.
+
)
\n
*
【解析】
*
(
.
+
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 months ago
2023-05-29 13:11