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 4,520 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Android Webview
PCRE2 (PHP >=7.3)
Hopefully it can tell if it is android webview or not.
Submitted by
Alp Ates
-
a year ago
2022-06-10 08:52
(Last modified a year ago)
2022-06-10 08:54
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Detect zoom meeting links
PCRE2 (PHP >=7.3)
Find zoom links in text
Submitted by
Artyom Ivanov
-
a year ago
2022-06-10 07:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Android Logcat Command-Line-Tools
PCRE2 (PHP >=7.3)
Android logcat command line raw
Submitted by
ArnoFrost
-
a year ago
2022-06-10 03:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
-ltr --time-style='+%s'
PCRE2 (PHP >=7.3)
-ltr --time-style='+%s'
Submitted by
anonymous
-
a year ago
2022-06-09 13:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Procurar por IPv4
Python
Match em um IPv4 válido
Submitted by
anonymous
-
a year ago
2022-06-09 04:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Package from Site
PCRE2 (PHP >=7.3)
Package from Site
Submitted by
anonymous
-
a year ago
2022-06-08 19:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
提取js中的内容
Python
获取变量值等
Submitted by
anonymous
-
a year ago
2022-06-08 16:52
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
US Social Security Number
PCRE2 (PHP >=7.3)
Finds a number that is 9 digits long. Can have spaces or hyphens in between the numbers and will still be found
Submitted by
anonymous
-
a year ago
2022-06-08 15:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
13-16 digit credit card
PCRE2 (PHP >=7.3)
Finds a number that is 13-16 digits long. Can have spaces or hyphens in between the numbers and will still be found.
Submitted by
Spencer Curtis
-
a year ago
2022-06-08 15:30
(Last modified a year ago)
2022-06-08 15:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Flight Number Regex for Java and Tests
Java 8
A regex string to validate flight number
Submitted by
Jose Sousa
-
a year ago
2022-06-08 13:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SAFE Parsing
Python
Parsing data in SAFE text file
Submitted by
anonymous
-
a year ago
2022-06-08 10:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
cpf
PCRE2 (PHP >=7.3)
regex cpf
Submitted by
vcatafesta@gmail.com
-
a year ago
2022-06-08 05:31
(Last modified a year ago)
2022-06-08 05:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parsing text between '[' and ']' unlimited number of times
Python
Using capturing group to match any text between [ and ] Test string '([Total Revenue] + [COGS] + [Distribution Costs] + [Sales Force Costs] + [A&P Costs] + [NDA Affairs Costs] + [Other Operating Costs]) * - [NDA share]'
Submitted by
anonymous
-
a year ago
2022-06-07 11:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
mac address validation
PCRE2 (PHP >=7.3)
mac address validation in hex or decimal form
Submitted by
planetwatch.io
-
a year ago
2022-06-07 08:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parse m3u8 IPTV playlist
PCRE2 (PHP >=7.3)
$1 or $channel = channel name $2 or $bullshit = text to ignore $3 or $url = channel url "HD" inside of `` group is search string to find all channels (with their urls) which names contain it. Feel free to play around with it.
Submitted by
https://axenov.dev
-
a year ago
2022-06-07 04:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
phone number matcher
Java 8
phone number matcher
Submitted by
anonymous
-
a year ago
2022-06-06 11:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regax for validate any variable string
PCRE2 (PHP >=7.3)
Regax for validate any variable string
Submitted by
Chandan
-
a year ago
2022-06-06 09:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
中英文、数字、全角符号的验证正则
PCRE2 (PHP >=7.3)
匹配中、英文、数字、全角符号,破折号和下滑线,不匹配除了这些以外的其他字符
Submitted by
nihuge
-
a year ago
2022-06-06 06:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email id extraction
Python
extracting email id from given string
Submitted by
anonymous
-
a year ago
2022-06-03 21:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Any mobile number extraction
Python
extracting mobile number along with country code
Submitted by
anonymous
-
a year ago
2022-06-03 21:05
1
...
72
73
74
75
76
77
78
...
226
Readable fail2ban logs in AWS Cloudwatch
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
,"
(?<date>
\d\d\d\d
-
\d\d
-
\d\d
)
\
(?<time>
\d\d
:
\d\d
:
\d\d
)
.
*
\[
(?<jail>
sshd
|
recidive
|
mysqld-auth
)
\]\
(?<action>
[
a
-
zA
-
z
]
*
)
\
(?<ip_address>
[
\d
\.
]
*
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
dtwx
-
2 years ago
2022-04-20 13:33