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)
Tiktok video regex
Python
Extract the id only from the necessary and supported links oembed tool provided by tiktok to embed these videos
Submitted by
Oscar David Garces Gomez - FB@soyvillareal
-
a year ago
2022-06-17 02:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
4 spaces and tabs mixed indentation replace pattern
PCRE2 (PHP >=7.3)
With this expression you can easily replace the indentation from 4 spaces and tabs mixed indented file to a pure indentation.
Submitted by
hNczy
-
a year ago
2022-06-16 11:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get HTML attribute
PCRE2 (PHP >=7.3)
Get HTML attribute with /" inside
Submitted by
anonymous
-
a year ago
2022-06-16 09:59
(Last modified a year ago)
2022-06-21 06:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
RegexNumberDecimal
Java 8
For two digits in regex in decimal places two and allow two digits before that point decimal
Submitted by
anonymous
-
a year ago
2022-06-15 16:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ID File with .txt
PCRE2 (PHP >=7.3)
cmd : find -type f | grep -Eo '(.\/)+(.iRqDU1LMXL)+(.*.txt)'
Submitted by
anonymous
-
a year ago
2022-06-15 09:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IP address with port
PCRE2 (PHP >=7.3)
Match ip address with port
Submitted by
PARNKOT
-
a year ago
2022-06-14 19:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Password Validator
PCRE2 (PHP >=7.3)
Password validator: 6-50 symbols Minimum 1 each: Upper case letter, Lower case letter, number, special symbol (!, @, #, $, %, ^, &, *, (, ), _, +, , ?). No other symbols allowed.
Submitted by
anonymous
-
a year ago
2022-06-14 09:35
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
1
...
72
73
74
75
76
77
78
...
227
Name regex
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
\p{L}
,.'-
]
+
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2022-04-22 11:07