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 5,840 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Version numbers
Python
Python regex to get version numbers, including if the version number specifies a range such as 1.0-2.0 or >1.0
Submitted by
jhylands
-
3 years ago
2021-05-25 07:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
vue component import suffix replace
ECMAScript (JavaScript)
为了使用vite,替换必须有后缀
Submitted by
anonymous
-
3 years ago
2021-05-25 08:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Filter 4, 10 digits and email
Golang
Test
Submitted by
gert rohde
-
3 years ago
2021-05-25 13:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
US Telephone Number validation
ECMAScript (JavaScript)
regex code for US telephone number validation for freecodecamp exercise
Submitted by
Erik @raxsonic
-
3 years ago
2021-05-29 08:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MBI Format
Java 8
Medicare Beneficiary Identifier (MBI) Format https://www.cms.gov/medicare/new-medicare-card/understanding-the-mbi-with-format.pdf
Submitted by
Chee Cheng
-
3 years ago
2021-05-30 05:30
(Last modified 3 years ago)
2021-05-30 05:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
http{s} non-capturing regex kotlin
Java 8
This is a kotlin implementation of a http{s} protocal check for when routing
Submitted by
yugely
-
3 years ago
2021-05-31 06:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Kotlin FTP Proto Check
Java 8
ftpProtoCheck
Submitted by
anonymous
-
3 years ago
2021-05-31 07:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
二行にわたる表現_レシート金額税込み
Python
お買\n\d\s\d,|\d|\s** レシートサンプルから複数行にわたる金額表記を取得する場合のケース用
Submitted by
anonymous
-
3 years ago
2021-05-31 07:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Fix gRPC method types
ECMAScript (JavaScript)
Changes gRPC methods to be in the proper format
Submitted by
anonymous
-
2 years ago
2021-06-01 01:44
(Last modified 2 years ago)
2021-06-01 01:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
float with comma or point
ECMAScript (JavaScript)
if you need positive or negative float number with comma or point
Submitted by
Deadula
-
2 years ago
2021-06-01 07:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Teamspeak badges parser
Python
Regex used in github project: https://github.com/alessandrobasi/teamspeak-badges-parser-c
Submitted by
alessandrobasi.it
-
2 years ago
2021-06-02 15:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
mss expresion
Python
mss
Submitted by
anonymous
-
2 years ago
2021-06-03 18:21
(Last modified 2 years ago)
2021-06-17 19:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Therapi param type name fix
Java 8
This regex extracts only the param type and omits any prefixed annotations included in the name.
Submitted by
anonymous
-
2 years ago
2021-06-03 21:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Password in java
Java 8
password in java
Submitted by
anonymous
-
2 years ago
2021-06-04 04:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Exchange Address
ECMAScript (JavaScript)
Finds Telephone Exchange Address
Submitted by
anonymous
-
2 years ago
2021-06-04 16:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Minecraft Color Code Regex
Java 8
Easy to remove minecraft color codes from strings.
Submitted by
Saniee
-
2 years ago
2021-06-05 11:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex to match words or phrases in string but NOT match if part of a URL or inside <a> </a> tags
Python
Stack: https://stackoverflow.com/a/6009552/13023113
Submitted by
anonymous
-
2 years ago
2021-06-05 12:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pull Words from Sentence
Java 8
Simple little regex to pull words out of a sentence. Obviously \w+ exists, but this accounts for a few corner cases that would normally be missed. Things like let's or ten-four good-buddy.
Submitted by
Tony B.
-
2 years ago
2021-06-05 20:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
mysql slow log parse for aws log insights
ECMAScript (JavaScript)
Parse the CloudWatch mysql slowlog into coherent fields.
Submitted by
Frank Baxter
-
2 years ago
2021-06-07 17:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Text Search
ECMAScript (JavaScript)
Text Search
Submitted by
anonymous
-
2 years ago
2021-06-09 10:32
1
...
142
143
144
145
146
147
148
...
292
catch_softwareversion_model_huawei_cisco
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
(
VRP
.
+
|
Cisco
\s
IOS
.
+
)
(
Version
\s\S
+
)
|
(
HUAWEI
\s\S
+
|
cisco
\s\S
+
)
"
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 years ago
2017-10-04 16:58