Please enable JavaScript to use regex101
Regular
Expressions
101
Support Regex101
Social
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP)
ECMAScript (JavaScript)
Python
Golang
Java
.NET 7.0 (C#)
Rust
PCRE (Legacy)
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among community submitted regex patterns...
0/512
-3
IPv4 address
Created
·
2016-04-06 17:12
Flavor
·
Python
Matches any IPv4 address
Submitted by
anonymous
-3
TD data from html table
Created
·
2015-12-24 10:15
Flavor
·
Python
no description available
Submitted by
Deepak Bansal
-3
matching words between tags
Created
·
2015-09-22 15:10
Flavor
·
ECMAScript (JavaScript)
matching words between square brachets tags include newline or carriage return
Submitted by
anonymous
-3
Html Tags
Created
·
2015-09-10 09:06
Flavor
·
ECMAScript (JavaScript)
Matches HTML structure
Submitted by
sagar
-3
Matches percentage with any number of digits
Created
·
2015-06-10 19:26
Flavor
·
Python
Only captures value for converting percentage to decimal. Returns empty if percentage but no value. no match = no percentage found
Submitted by
sharkey
-3
remove facebook urls from html
Created
·
2015-06-03 01:35
Flavor
·
ECMAScript (JavaScript)
This will remove all facebook urls from a HTML string
Submitted by
Russell Miller
-3
Strict email validation
Created
·
2015-02-28 10:35
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-3
Detect a numeric string
Created
·
2015-01-08 22:59
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
Ankur Chauhan
-3
Match substitutions
Created
·
2014-07-26 13:32
Flavor
·
Python
Match regular expressions substitutions, I personally use this to perform my validate if it is a substitution, then call re.sub() on it.
Submitted by
Zarthus
-3
Number
Created
·
2014-07-13 16:14
Flavor
·
ECMAScript (JavaScript)
Gets all numbers in a string. This includes positive and negative numbers aswell as integers and floats. By: http://www.benlorantfy.com/
Submitted by
Ben
-2
Codeforces 1800A Solution
Created
·
2023-07-24 16:01
Flavor
·
ECMAScript (JavaScript)
By inserting this regex in a programming language to test it against Codeforces 1800A you'll solve the task
Submitted by
EntityPlantt
-2
Ascending and Descending order
Created
·
2023-07-17 15:51
Flavor
·
Java
This regex is to match Ascending or descending order of 8 digit number
Submitted by
anonymous
-2
Match whitespace and colon, except in specific words
Created
·
2022-08-10 15:21
Flavor
·
ECMAScript (JavaScript)
For string splitting / deconstructing
Submitted by
anonymous
-2
email regexp
Created
·
2017-07-14 05:25
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-2
phone number
Created
·
2016-07-19 04:29
Flavor
·
Python
An extremely complete regex, that... Accepts international phones and most of regional phone numbers; Accepts phone numbers with/without "+", with/without space or "-" in the middle of the phone, and more. Gets groups of all important data of the phone number (local code, country code and the phone number itself)
Submitted by
@thegamerbr1
-2
Email Validation
Created
·
2015-12-01 22:35
Flavor
·
Python
Full email validation with optional "." "-" "_"
Submitted by
Jakub Stasiak
-2
match unescaped quotes
Created
·
2015-11-05 21:28
Flavor
·
Python
no description available
Submitted by
anonymous
-2
adsf
Created
·
2015-11-01 11:11
Flavor
·
Python
adfadfad
Submitted by
anonymous
-2
Validating comma delimited strings for whitespaces & extra commas
Created
·
2015-10-28 10:03
Flavor
·
ECMAScript (JavaScript)
Validating comma delimited strings for whitespaces & extra commas -- +(,()+){0,}
Submitted by
Cyril Mathew
-2
Between two strings
Created
·
2015-10-27 19:18
Flavor
·
Python
Awesome explanation of nested lookbacks
Submitted by
OnlineCop
-2
Multiple Email Address Validation
Created
·
2015-10-26 06:50
Flavor
·
ECMAScript (JavaScript)
Validates Multiple email addresses seperated by comma.
Submitted by
Rajesh Badam
-2
match commas between sets or members, but not inside members.
Created
·
2015-10-23 16:41
Flavor
·
Python
matches only those commas that are between sets, or between members of a set. does not match commas that are inside members.
Submitted by
Amrit Kohli
-2
Roman numbers
Created
·
2015-10-20 13:01
Flavor
·
ECMAScript (JavaScript)
This regex matches roman numbers from 1 (I) to 3999 (MMMCMXCIX)
Submitted by
Nicolò Ribaudo
-2
Valid Email
Created
·
2015-10-19 17:05
Flavor
·
ECMAScript (JavaScript)
Use this Regex for server-side validation also with some slight modifications like so for .NET -- @\w+(-+.']\w+)@\w+([-.]\w+)\.[a-zA-Z0-9]{2,6}([-.{2,6})*;
Submitted by
Fred Scales
-2
Name/Surname
Created
·
2015-10-17 08:00
Flavor
·
ECMAScript (JavaScript)
Regex to constrain a text to have at least 2 strings. Compatible with 2nd-3rd-Nth names/surnames.
Submitted by
BigL
-2
search all special characters
Created
·
2015-10-14 23:02
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
rlynjb
-2
SQL Injection
Created
·
2015-10-14 10:15
Flavor
·
ECMAScript (JavaScript)
SQL injection regEx pattern
Submitted by
Darshan Patil
-2
Prosed OFX DateTimeType pattern for v.2.1.1+
Created
·
2015-09-06 02:10
Flavor
·
Python
no description available
Submitted by
Oleg Sakharov karpuscul@gmail.com
-2
SQL Comment
Created
·
2015-08-22 08:27
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-2
Validation of code ATECO Italian
Created
·
2015-08-19 12:09
Flavor
·
Python
/* -- This is a RegEx for validating one Italian ATECO code. -- For original specification visit: http://www.istat.it/it/archivio/17888 -- Valid: */ 1 01 01.2 01.02 01.02.3 01.02.03 // Not Valid: a asc 0123 012.3 013.456 123456 01/02/03
Submitted by
Marco Tonchella with the help of this Comunity that thanks a lot.
-2
domain name
Created
·
2015-08-17 05:19
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-2
Date Validation
Created
·
2015-08-12 19:23
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-2
find mp3 file
Created
·
2015-08-02 09:27
Flavor
·
ECMAScript (JavaScript)
find mp3 file embeded in a link
Submitted by
ogerly
-2
Word ending with colon
Created
·
2015-07-20 19:03
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
hj
-2
filter
Created
·
2015-07-18 07:55
Flavor
·
Python
no description available
Submitted by
anonymous
-2
checklists item
Created
·
2015-07-15 13:25
Flavor
·
Python
checklists item
Submitted by
Tobias Hochgürtel
-2
finds the instance of two or more repeating letters
Created
·
2015-07-10 19:34
Flavor
·
Python
no description available
Submitted by
cp0153
-2
twitter usernames
Created
·
2015-07-10 11:15
Flavor
·
Python
no description available
Submitted by
anonymous
-2
Date format regex for ddMMMyyyy
Created
·
2015-07-09 20:33
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-2
twitter ids
Created
·
2015-06-29 21:13
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
jaybill
-2
Match words in a string
Created
·
2015-06-24 18:55
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-2
Twitter Date format
Created
·
2015-06-19 18:44
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
hjgabrielsen
-2
IPv4
Created
·
2015-06-19 13:07
Flavor
·
Python
allows for all legal IPv4 addresses
Submitted by
anonymous
-2
UK (Europe) DateTime
Created
·
2015-06-17 16:59
Flavor
·
ECMAScript (JavaScript)
Validates input to match UK Date Time standard
Submitted by
Bascoder
-2
cron expression
Created
·
2015-06-16 12:40
Flavor
·
ECMAScript (JavaScript)
This is a relaxed cron validation, meaning that any valid cron expression should pass this; but not anything that passes regex validation is a good cron expression. Used as preliminary validation in web ui. Supports all special characters. Includes seconds field.
Submitted by
enlait
-2
String with 1 lowercase 1 uppercase & 1 digit
Created
·
2015-06-16 11:18
Flavor
·
ECMAScript (JavaScript)
Regular expression for a validating a string with following rules: at least one lowercase letter at least one upper case letter at least one digit length between 6 and 14 ^(?=.\d)(?=.[a-z])(?=.*[A-Z]).{6,14}$
Submitted by
Rasmita Dash
-2
Host and domains
Created
·
2015-06-10 18:44
Flavor
·
Python
no description available
Submitted by
anonymous
-2
Check syntax port ACL VNG
Created
·
2015-06-07 19:35
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
nguyenvq
-2
Detect HTML Linebreak Tags
Created
·
2015-06-04 10:18
Flavor
·
ECMAScript (JavaScript)
Detect various possible HTML linebreak tags (eg. )
Submitted by
@benhodgson
-2
Any telephone number with region and country in any format
Created
·
2015-05-29 20:12
Flavor
·
ECMAScript (JavaScript)
Matches any telephone number with region parentesis, or separated by points or dash or spaces
Submitted by
https://co.linkedin.com/in/andresfelipecardona
Load More
Community Library Entry
0
Regular Expression
Created
·
2023-06-09 06:36
Flavor
·
.NET 7.0 (C#)
@"
^
(?=
(?<http>
(?:
https
?
:
\/\/
){1}(?:
www
\.
)?
)?
)(?
(?=
\k<http>
?
(?<ipaddr>
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
(?:
\:
\d
{1,5}
)?
)
)
\k<http>
?
\k<ipaddr>
(?:
\.
[
\w
]
{1,9}
)?
|
\k<http>
(?:
[
\w
]
\.
?
){1,255}
\.
[
\w
]
{1,9}
)(?:
\/
.
*
)?
$
"
gm
Open regex in editor
Description
Can be used to validate on URL's.
Submitted by
anonymous