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 17,420 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
REGEX OS
Java 8
Regex para extrair titulo e descrição duma OS
Submitted by
anonymous
-
a year ago
2022-08-11 21:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
KPI Dash Drop-In Image Compliance
Python
This regex is designed for end users to test if there image file is name compliant.
Submitted by
Jeremiah Carlson
-
a year ago
2022-08-11 16:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
长宽高
PCRE2 (PHP >=7.3)
长宽高
Submitted by
mouxan
-
a year ago
2022-08-11 06:46
-2
0 upvotes, 2 downvotes (score 0%) (You must be signed in to vote)
Match whitespace and colon, except in specific words
ECMAScript (JavaScript)
For string splitting / deconstructing
Submitted by
anonymous
-
a year ago
2022-08-10 15:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match extends in a class
PCRE2 (PHP >=7.3)
to match extends in a class
Submitted by
anonymous
-
a year ago
2022-08-10 15:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
implements Regex
PCRE2 (PHP >=7.3)
To match implements in classes
Submitted by
anonymous
-
a year ago
2022-08-10 14:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Laravel all routes, except some
PCRE2 (PHP >=7.3)
When creating a SPA we could capture all routes except some. Needed this for Laravel Route::get('/{any?}', function () { return 'Not captured';...
Submitted by
aldo-f
-
a year ago
2022-08-10 14:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AWS EC2 Hostname
PCRE2 (PHP >=7.3)
Validates AWS EC2 Hostnames
Submitted by
holy-moly-555
-
a year ago
2022-08-10 10:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
NextJS Compiler - reactRemoveProperties
PCRE (PHP <7.3)
Match Test Properties This regular expression is used on next.config.js and is used to remove test attributes from the production build. It filters any data attributes that starts with 'test', 'cy' or 'jest'. ...
Submitted by
Patrick Fantato <patrick@madebyon.com>
-
a year ago
2022-08-10 09:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date dd.mm.yyyy
PCRE2 (PHP >=7.3)
Regex for datestring validation
Submitted by
anonymous
-
a year ago
2022-08-10 08:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Equifax street types parser
PCRE2 (PHP >=7.3)
Street types
Submitted by
anonymous
-
a year ago
2022-08-10 07:51
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
HTML Minifier
PCRE2 (PHP >=7.3)
https://stackoverflow.com/questions/5312349/minifying-final-html-output-using-regular-expressions-with-codeigniter Thanks to @Alan Moore
Submitted by
anonymous
-
a year ago
2022-08-10 05:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
stage build checker
PCRE2 (PHP >=7.3)
stage build checker
Submitted by
anonymous
-
a year ago
2022-08-09 21:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
estoque_bling_regex
PCRE2 (PHP >=7.3)
Regex xml stock Bling
Submitted by
Dimitri
-
a year ago
2022-08-09 12:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
multicast
ECMAScript (JavaScript)
.
Submitted by
anonymous
-
a year ago
2022-08-09 08:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URLs and Emails RegEx
.NET (C#)
A neat regular expression to extract web urls and emails from a paragraph or a text stream.
Submitted by
kosalanuwan
-
a year ago
2022-08-08 16:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Rules
PCRE2 (PHP >=7.3)
Rules
Submitted by
anonymous
-
a year ago
2022-08-08 12:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Japanese Characters matching
ECMAScript (JavaScript)
Regex for Matching Jap Romaji Chars. I am in the middle of making an interface for Anki that works life wanikani. This way I can practice my own cards instead of a set syllabus. For that I need to make a Japanese Kana input, so I went with the good old regex to match all the romaji groups which ca...
Submitted by
Aashay Thakur
-
a year ago
2022-08-08 05:07
(Last modified a year ago)
2022-08-13 01:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
取字母中间的数字
Java 8
获取前后各有一个数字,中间的数字
Submitted by
lemon 1900
-
a year ago
2022-08-08 02:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find Matching Parenthesis, Brackets, and Curly Brackets
ECMAScript (JavaScript)
Given a string, find matching parenthesis, brackets, and/or curly brackets.
Submitted by
Matthew Hiebing
-
a year ago
2022-08-08 01:57
1
...
89
90
91
92
93
94
95
...
871
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>
[^
/
]
+
)
;
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
a year ago
2022-07-07 14:37