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,340 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
cloze_list_depth_1
PCRE2 (PHP >=7.3)
Submitted by
anonymous
-
a year ago
2022-09-16 12:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Validates class binded url parameter
PCRE2 (PHP >=7.3)
For internal purposes
Submitted by
Daniel Bañobre
-
a year ago
2022-09-16 09:23
(Last modified a year ago)
2022-09-16 12:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Validate url data descriptor
PCRE2 (PHP >=7.3)
For internal purposes
Submitted by
Daniel Bañobre
-
a year ago
2022-09-16 09:20
(Last modified a year ago)
2022-09-16 12:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Indain phone number
PCRE2 (PHP >=7.3)
Indain phone number
Submitted by
anonymous
-
a year ago
2022-09-16 06:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pretty URLs: match ugly URL tails
PCRE2 (PHP >=7.3)
Matches: ...foo/bar.php ...foo/bar/ ...foo/bar/index ...foo/bar/index.php ...
Submitted by
DM
-
a year ago
2022-09-15 21:04
(Last modified a year ago)
2022-09-15 21:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Obtener nombre
PCRE2 (PHP >=7.3)
Expresión regular para obtener el nombre de un medicamento desde una pagina del ISP
Submitted by
anonymous
-
a year ago
2022-09-15 14:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
S3 Path with ending .json
Golang
S3 Path with ending .json
Submitted by
Sowmith
-
a year ago
2022-09-15 14:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex for comments .py/.js/.c++
PCRE2 (PHP >=7.3)
my first regex about comments in c++, js, python
Submitted by
anonymous
-
a year ago
2022-09-15 13:54
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
uzbekistan phone regex
PCRE2 (PHP >=7.3)
Uzbekistan phone codes - regex pattern.
Submitted by
Sodikmirzo Sattorov
-
a year ago
2022-09-15 07:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Verify email
PCRE2 (PHP >=7.3)
test email
Submitted by
Digimusen
-
a year ago
2022-09-14 21:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Recognize Bosch partnumber
PCRE2 (PHP >=7.3)
partsnumber validate
Submitted by
Digimusen
-
a year ago
2022-09-14 21:10
(Last modified a year ago)
2022-09-14 21:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
php socket
PCRE2 (PHP >=7.3)
validates a php socket string
Submitted by
anonymous
-
a year ago
2022-09-14 11:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
JavaScript Naming Convention Parser/Validator
PCRE2 (PHP >=7.3)
Surprisingly short regex that matches valid JavaScript identifier names and captures it in a group according common JavaScript naming conventions, e.g: myVariable generic name for most identifiers, uses camelCase MyClass...
Submitted by
Neel Yadav
-
a year ago
2022-09-13 22:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
BankPostingInvoiceNumber
PCRE2 (PHP >=7.3)
Get Invoice Number
Submitted by
Diego Riva
-
a year ago
2022-09-13 19:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
BankPostingMiddle
PCRE2 (PHP >=7.3)
Get Middle Value From Invoice Text
Submitted by
Diego Riva
-
a year ago
2022-09-13 19:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Σ = { a , b,c } Cadenas que contienen al menos dos a’s o exactamente tres b’s
PCRE2 (PHP >=7.3)
Tarea 1 - LFYA
Submitted by
anonymous
-
a year ago
2022-09-12 02:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Tarea 1
PCRE2 (PHP >=7.3)
Lenguajes
Submitted by
anonymous
-
a year ago
2022-09-11 17:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Aktienkurse
PCRE2 (PHP >=7.3)
Bekomme es nicht hin, den Wert 22,32 zu extrahieren
Submitted by
Gregor
-
a year ago
2022-09-11 11:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
groupby string
PCRE2 (PHP >=7.3)
a(bb) aabbabbabbaaa expectedoutput: Start :1, End : 4, Group abb...
Submitted by
anonymous
-
a year ago
2022-09-10 10:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Hello World exercise
PCRE2 (PHP >=7.3)
Find Hello world!
Submitted by
viktomas
-
a year ago
2022-09-10 09:57
1
...
39
40
41
42
43
44
45
...
117
get package and version from path after several words
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
;
packages/
(?<package>
[^
\/
]
+
)
/
(?<version>
[^
\/
]
+
)
/
(?<file>
[^
\/
]
+
)
;
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
a year ago
2022-07-06 19:28