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 14,640 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
16进制颜色
ECMAScript (JavaScript)
16进制颜色
Submitted by
anonymous
-
4 years ago
2020-03-22 06:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
微信号,6至20位,以字母开头,字母,数字,减号,下划线
ECMAScript (JavaScript)
微信号,6至20位,以字母开头,字母,数字,减号,下划线
Submitted by
anonymous
-
4 years ago
2020-03-22 06:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
邮政编码(中国)
ECMAScript (JavaScript)
邮政编码(中国)
Submitted by
anonymous
-
4 years ago
2020-03-22 06:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
中文和数字
ECMAScript (JavaScript)
中文和数字
Submitted by
anonymous
-
4 years ago
2020-03-22 06:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
不能包含字母
ECMAScript (JavaScript)
不能包含字母
Submitted by
anonymous
-
4 years ago
2020-03-22 06:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
cisco show run interface
PCRE (PHP <7.3)
This regex fetches interface ID along with its ip address and description if configured otherwise blank
Submitted by
anonymous
-
4 years ago
2020-03-22 09:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Float representation
Python
All float representations that can be consumed by strtod() (string to double function in c) Compatible with flex/bison
Submitted by
anonymous
-
4 years ago
2020-03-22 11:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
phone regex validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-22 19:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find including multiline
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-03-24 06:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL
ECMAScript (JavaScript)
https://regex101.com/r/VC5MsA/4
Submitted by
anonymous
-
3 years ago
2020-03-24 07:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CSB34 Account header
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-03-24 19:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get parent folder and file name from full path
PCRE (PHP <7.3)
This expr will get the parent folder and file name from a full path eg: c:\folder1\folder2\folder3\file1.txt returns folder3\file1.txt
Submitted by
anonymous
-
3 years ago
2020-03-24 22:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SF_KAFKA_CONNECTOR
PCRE (PHP <7.3)
Used for parsing logs of snowflake kafka connector
Submitted by
anonymous
-
3 years ago
2020-03-25 05:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Zabbix
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-03-25 11:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
spark to scala
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-03-25 20:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
names_college_google_meet
PCRE (PHP <7.3)
Google meet names list
Submitted by
anonymous
-
3 years ago
2020-03-25 23:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ORIGIN_ALERT_NORMAL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-03-26 05:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
bold family
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-03-26 07:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
address dot
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-03-26 07:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
2020-03-26 10:24
1
...
673
674
675
676
677
678
679
...
732
Capture the last space in a line of text with Negative Lookback
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(?<!
\s
)
(
\s
)
(?:
\S
+
?
)
(?:
\r\n
?
|
\n
|
\z
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 years ago
2017-09-14 14:41