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
Working With Data regex sample text
Created
·
2021-10-27 18:45
Flavor
·
PCRE2 (PHP)
This is a sample text for use at my "Working With Data" workshop session on regular expressions.
Submitted by
anonymous
-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
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
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
Iranian Mobile Numbers
Created
·
2023-06-11 10:41
Flavor
·
PCRE2 (PHP)
To Validate Iranian Operators Number Validation
Submitted by
AMAISGOD
-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
Conventional Commits commit regex
Created
·
2022-01-31 00:53
Flavor
·
PCRE2 (PHP)
https://www.conventionalcommits.org/en/v1.0.0/
Submitted by
Michael Collins
-2
smargs
Created
·
2021-03-16 00:05
Flavor
·
PCRE2 (PHP)
smargs not margins
Submitted by
rkatz
-2
From conf table to hive table
Created
·
2021-02-18 19:33
Flavor
·
PCRE2 (PHP)
no description available
Submitted by
anonymous
-2
LinuxOSVersion
Created
·
2021-02-16 10:33
Flavor
·
PCRE2 (PHP)
no description available
Submitted by
anonymous
-2
Exclude particular word in phrase
Created
·
2021-02-16 08:53
Flavor
·
PCRE2 (PHP)
this will exclude particular phrase from a line. means it will match only those line which dont have those word
Submitted by
anonymous
-2
Url regex
Created
·
2021-02-14 19:11
Flavor
·
PCRE2 (PHP)
no description available
Submitted by
anonymous
-2
Eide Chrysler New Goal
Created
·
2021-02-02 00:42
Updated
·
2021-02-02 00:44
Flavor
·
PCRE2 (PHP)
no description available
Submitted by
anonymous
-2
email regexp
Created
·
2017-07-14 05:25
Flavor
·
ECMAScript (JavaScript)
no description available
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
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
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
SQL Comment
Created
·
2015-08-22 08:27
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-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
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
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
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
-2
Find a IPV4
Created
·
2015-05-27 04:15
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
Jon Dotsoy
-2
Match Content-Range response header
Created
·
2015-05-22 22:38
Flavor
·
ECMAScript (JavaScript)
Matches the Content-Range response header format -[end]/[total|*]
Submitted by
mdezem
-2
Match website - http:|https://i.imgur.com
Created
·
2015-05-22 22:26
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
ghrifter
-2
Username
Created
·
2015-04-08 03:53
Flavor
·
ECMAScript (JavaScript)
^[_a-zA-Z0-9]+$ how to make regex username with underscore. i'm using c# but this regex isn't working.
Submitted by
anonymous
-2
S3 log analysis
Created
·
2014-11-30 18:31
Flavor
·
ECMAScript (JavaScript)
An updated S3 log analyzer. I found that my logs sometimes had strings quoted, so I needed to add possible handling for that.
Submitted by
Matt Ingenthron <ingenthr@cep.net>
-2
Comma-separated numbers with ranges
Created
·
2014-11-03 11:32
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
Eugene
-2
I need some one to generate an regexp please
Created
·
2014-10-24 16:58
Flavor
·
ECMAScript (JavaScript)
I need regular expression for the string WC_AUTHENTICATION_1343459084. Here WC_AUTHENTICATION_ remains fixed and the number keeps changing. I have written the below logic. var re = new RegExp('[; ]'+"WC_PERSISTENT"+'[0-9]'); Please help
Submitted by
Sanuvimal.Mohan@target.com
-2
Decimal Number
Created
·
2014-10-03 05:32
Flavor
·
ECMAScript (JavaScript)
Parse decimal numbers with optional thousands and/or decimal separator. #i18n #l11n #international
Submitted by
Andreas Pizsa
-2
valid windows file name
Created
·
2014-10-01 14:31
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
Mitacha
-2
Regex for 1 to 100 with or without decimal values
Created
·
2014-08-14 10:32
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
Ved
Community Library Entry
9
Regular Expression
Created
·
2015-09-29 17:50
Flavor
·
Python
r"
(?=
^.
{4,253}
$
)(
^
(
(?!
-
)
[
a
-
zA
-
Z0
-
9-
]
{1,63}
(?<!
-
)
\.
)+
[
a
-
zA
-
Z
]
{2,63}
$
)
"
Open regex in editor
Description
no description available
Submitted by
anonymous