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 12,780 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
belarus phone number updated
ECMAScript (JavaScript)
+375 (33) 302-66-60 or +37533302-66-60 http://stackoverflow.com/questions/33056434/regex-for-phones-at-belarus
Submitted by
anonymous
-
8 years ago
2015-12-01 12:00
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
Xml/html regex
PCRE (PHP <7.3)
Common regex for use with xml/html files
Submitted by
wonzbak
-
8 years ago
2015-12-01 09:54
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Visa Country of Issue
ECMAScript (JavaScript)
3 alpha characters expected, except in the instance of Germany which allows 1 alpha character.
Submitted by
anonymous
-
8 years ago
2015-12-01 01:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
VISA Name
ECMAScript (JavaScript)
Alpha numeric characters including "hyphens" "quotation marks" and "semicolons" only
Submitted by
ME
-
8 years ago
2015-12-01 01:37
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
index
PCRE (PHP <7.3)
include index.aspx
Submitted by
anonymous
-
8 years ago
2015-11-30 15:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Split number by thousands
PCRE (PHP <7.3)
Basically take a number and split it into thousands. I.e. take three chars from the end of the number until there is 3 or less chars left.
Submitted by
Axb
-
8 years ago
2015-11-30 13:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ZAP exclude URL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-30 13:20
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
url validator
PCRE (PHP <7.3)
no description available
Submitted by
Briareos
-
8 years ago
2015-11-30 13:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
load_runner_transaction_end
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-30 13:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
magnet
ECMAScript (JavaScript)
Extract magnet links
Submitted by
Peng
-
8 years ago
2015-11-30 12:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
REGEX for detecting AU Parcel locker
PCRE (PHP <7.3)
meh
Submitted by
tsing to the motherfucking tao
-
8 years ago
2015-11-30 08:54
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
International numeric format validator
ECMAScript (JavaScript)
International numeric format validator
Submitted by
unknown
-
8 years ago
2015-11-30 07:14
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Get Hyperlinks From Markdown Format
PCRE (PHP <7.3)
Get all hyperlinks in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
8 years ago
2015-11-30 04:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Get Images From Markdown Format
PCRE (PHP <7.3)
Get all images tag in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
8 years ago
2015-11-30 04:25
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Get Headings From Markdown Format
ECMAScript (JavaScript)
Get all headings in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
8 years ago
2015-11-30 04:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
recognize php
PCRE (PHP <7.3)
recognize php code
Submitted by
Chris Ottersen
-
8 years ago
2015-11-29 21:06
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Find an exact phrase only if it is within a certain number of chars.
PCRE (PHP <7.3)
Find an exact phrase (with each space and character in its own place) only if it is within the first 40 characters of the entire sentence. Useful to search non-standard phrases in log files.
Submitted by
RicardoSPimentel
-
8 years ago
2015-11-29 13:40
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-29 03:22
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
y
PCRE (PHP <7.3)
all less jpg
Submitted by
w
-
8 years ago
2015-11-28 22:29
0
3 upvotes, 3 downvotes (score 18.8%) (You must be signed in to vote)
Arabic diacritics matching تحديد التشكيل العربي
ECMAScript (JavaScript)
It will match all Arabic diacritics in Arabic text, its useful to remove diacritics and to replace it with some css.
Submitted by
Emad Ghaly
-
8 years ago
2015-11-28 22:27
1
...
519
520
521
522
523
524
525
...
639
prevent-sanitzation
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^\s
*
(
https
?
|
ftp
|
mailto
|
tel
|
file
)
:
.
*
(?!
\.
(
js
|
html
)
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-06-10 17:03