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,540 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Env Var
PCRE2 (PHP >=7.3)
Regex to match Env Variable whole line
Submitted by
anonymous
-
a year ago
2022-06-14 09:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pesquisar CPF com máscara
Python
Achar o CPF com mascara em um documento PDF.
Submitted by
anonymous
-
a year ago
2022-06-14 04:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
urn_path_splitting
Python
split a URN with one or more parts separated by colon
Submitted by
anonymous
-
a year ago
2022-06-13 23:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MAC Address
Python
Simple MAC address match/parsing expression
Submitted by
cwichel
-
a year ago
2022-06-13 21:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
UAE Emirates ID Number
PCRE2 (PHP >=7.3)
Validate an Emirates ID number, with or without dashes. Please note that this does not implement the Luhn Algorithm, which should be applied in conjunction with simple validation.
Submitted by
Pete Mahon
-
a year ago
2022-06-13 08:09
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Match Consonants
PCRE2 (PHP >=7.3)
Use regex to test whether a letter is a consonant or not. Use /[B-DF-HJ-NP-TV-Z]/ for capitals.
Submitted by
Matthew Hiebing
-
a year ago
2022-06-10 19:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
TCN Match
Python
Extract info about STP TCNs
Submitted by
anonymous
-
a year ago
2022-06-10 15:38
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
is
PCRE2 (PHP >=7.3)
Hi it is me
Submitted by
anonymous
-
a year ago
2022-06-10 15:29
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
1
...
72
73
74
75
76
77
78
...
227
匹配#结尾的电话号码和手机
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
(
\d
*
#
\D
)
|
(
\d
*
#
^
)
"
mg
Open regex in editor
Description
Loading markdown...
Submitted by
Leo
-
2 years ago
2022-04-26 03:23