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...
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
html-link
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-18 12:43
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
html-link-2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-18 12:43
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
geolocation coordinates string
PCRE (PHP <7.3)
Matches a geolocation coordinates string consisting of latitude and longitude separated by a comma with up to 7 decimal places precision.
Submitted by
Steve Piercy
-
8 years ago
2015-09-19 04:17
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Twitter Hashtags
PCRE (PHP <7.3)
Finds out Twitter Hashtags from a text
Submitted by
Yesha Shah
-
8 years ago
2015-09-23 06:06
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Numero de telefone brasileiro
PCRE (PHP <7.3)
Valida numero de telefone brasileiro com 9 ou 8 digitos junto com DDD ou sem DDD, formatado ou nao formatado.
Submitted by
fb.me/raniellyfsilva
-
8 years ago
2015-09-23 14:35
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
phone number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-24 09:37
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
WEB URL
ECMAScript (JavaScript)
only WEB URL ex:http://aaa.com.tw https://aaa.com aaa.com aaa.com.tw
Submitted by
anonymous
-
8 years ago
2015-09-25 10:55
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Advanced Currency Matcher/Validator
PCRE (PHP <7.3)
Matches typical currency input in most LTR locales. Doesn't handle ISO-style currency abbreviations. Currency symbol must be on the left side for consistency; this my conflict with conventions for some currencies. Requested by Mr Lucky at https://xenforo.com/community/threads/help-with-a-currency...
Submitted by
Paul Buonopane (Zenexer)
-
8 years ago
2015-09-26 11:36
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
123-456-789
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-26 18:22
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
HTML Tag Filtering
PCRE (PHP <7.3)
no description available
Submitted by
Mohammed Yehia
-
8 years ago
2015-09-28 02:02
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
input phone
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-28 15:10
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
phonenumber
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-29 12:32
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
'Letters' ; '-' or '_' ; 'Letters'
PCRE (PHP <7.3)
begins with letters , then a dash or underscore and ends with letters Perfect for Language Culture Names like 'fr-FR' (or 'fr_FR')
Submitted by
EO-TeSdY
-
8 years ago
2015-09-29 12:40
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
only match single . and not double
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-29 12:41
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Human weight in kg
PCRE (PHP <7.3)
Match theses types of input : 0 0,00 0,07 7 3,5...
Submitted by
Bloodbee
-
8 years ago
2015-09-30 17:34
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
HTTP / HTTPS link check
ECMAScript (JavaScript)
Check if string contains a valid HTTP / HTTPS link
Submitted by
Dimorphic
-
8 years ago
2015-10-04 13:44
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
ISO 8601 Dates
PCRE (PHP <7.3)
Regex supporting all formats of ISO 8601 dates (with timezone and microseconds) that are compatible with PHP DateTime constructor and strtotime.
Submitted by
mjolnic
-
8 years ago
2015-10-06 10:26
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Squid access.log
PCRE (PHP <7.3)
cut/paste into fluentd/td-agent config
Submitted by
HoBoJo
-
8 years ago
2015-10-06 16:53
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
select internal special chars
PCRE (PHP <7.3)
select all special chars inside a world/sentence
Submitted by
anonymous
-
8 years ago
2015-10-07 14:16
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Find method declarations without parameter types
PCRE (PHP <7.3)
no description available
Submitted by
Iulian Onofrei
-
8 years ago
2015-10-08 08:38
1
...
251
252
253
254
255
256
257
...
639
streets with one or more names with unicode characters in python
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Python
r"
^
(
[
a
-
zA
-
Z
\u00C0-\u017E
]
+
(?:
\.
|
-
|
)
)*
[
a
-
zA
-
Z
\u00C0-\u017E
]
*
$
"
gmu
Open regex in editor
Description
Loading markdown...
Submitted by
Stanicio
-
2 years ago
2022-02-13 02:14