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
-18
dd-mm-YYYY HH:mm:ss (year range 1000-2999)
Created
·
2013-05-13 22:48
Updated
·
2023-07-24 16:28
Flavor
·
PCRE (Legacy)
Validate Gregorian calendar dates that contain 24-hour times. This will also correctly match the Feb 29 date when it falls on a valid leap year. Leap years occur every 4 years, with one exception: when a year is evenly divisible by 100 but not evenly divisible by 400, the year will not be a leap year. Thus years 2100, 2200, and 2300 are not leap years but years 2000, 2400, and 2800 are.
Submitted by
Ka.
-5
Date with this format YYYY-MM-DD and year start 20 or 21
Created
·
2014-02-11 10:22
Flavor
·
PCRE (Legacy)
Date with this format YYYY-MM-DD and year start 20 or 21 like 2014
Submitted by
cisc0
-4
Latitude/longitude tester
Created
·
2014-04-29 11:33
Flavor
·
PCRE (Legacy)
Tests the string if it does contain valid latitude and longitude parameters
Submitted by
Doro
-3
Xml Parser (improved description)
Created
·
2016-05-19 22:30
Flavor
·
PCRE (Legacy)
]+)\s()\s(?:\/>|>(.)) - (with global) finds all tags in scope 1st group is tagname 2nd group is attributes 3rd group (if it exists) is value of the tag Apply pattern again on 3th group to find internal tags (recurse in the code to parse entire xml!) Apply pattern below on 2nd group to find all attributes: \s+(+)\s=\s"(*)" - (with global) finds attributes 1st group is attributename 2nd group is attributevalue
Submitted by
veryanonymous
-3
Regex Include & Exclude
Created
·
2016-01-26 19:36
Flavor
·
PCRE (Legacy)
Exclude part of a string in an include string.
Submitted by
anonymous
-3
retrieve hostname without subdomain
Created
·
2015-11-19 00:55
Flavor
·
PCRE (Legacy)
no description available
Submitted by
Diego Zuluaga
-3
Remove special character at first position of string
Created
·
2015-11-06 23:27
Flavor
·
PCRE (Legacy)
This search for special character at first position in the string
Submitted by
anonymous
-3
Clean empty tags from HTML tags incl. tags containing space(s)
Created
·
2015-09-18 13:34
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-3
get table name from mapfile
Created
·
2015-09-01 15:38
Flavor
·
PCRE (Legacy)
gets a postgis tablename from a mapfile with the given layer name, may not work depending on your mapfile layout
Submitted by
warnock
-3
Replace abba with ABBA
Created
·
2015-08-30 10:24
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-3
Facebook url regex
Created
·
2015-07-23 09:49
Flavor
·
PCRE (Legacy)
no description available
Submitted by
Devs Devaras
-3
a
Created
·
2015-07-17 20:10
Flavor
·
PCRE (Legacy)
a
Submitted by
a
-3
UpperCase words
Created
·
2015-07-15 16:06
Flavor
·
PCRE (Legacy)
no description available
Submitted by
ivo
-3
ipv4 - short version
Created
·
2015-07-15 08:26
Flavor
·
PCRE (Legacy)
no description available
Submitted by
gromozeka
-3
FQDN Fully Qualified Domain Name
Created
·
2015-06-25 16:31
Flavor
·
PCRE (Legacy)
no description available
Submitted by
Rafael Justo and Mauro Trajber
-3
Telephone
Created
·
2015-06-16 14:32
Flavor
·
PCRE (Legacy)
Find Telephone
Submitted by
Mr.Fail
-3
RegEX for account code starting with 000-
Created
·
2015-06-15 17:55
Flavor
·
PCRE (Legacy)
no description available
Submitted by
Joe H
-3
Match email addresses and get the mail provider as a group
Created
·
2015-06-10 18:23
Flavor
·
PCRE (Legacy)
no description available
Submitted by
Ole
-3
Select a HTML table and all its innerHTML
Created
·
2015-04-15 19:49
Flavor
·
PCRE (Legacy)
no description available
Submitted by
@ixzy24
-3
mama
Created
·
2014-08-22 02:48
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-3
regex help
Created
·
2014-06-18 21:07
Flavor
·
PCRE (Legacy)
help please. i need regex,
Submitted by
James
-3
British Postcode Check
Created
·
2014-05-15 13:46
Flavor
·
PCRE (Legacy)
no description available
Submitted by
guest
-3
british postcode check
Created
·
2014-05-15 13:45
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-3
Date and Time
Created
·
2014-03-25 16:35
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-2
PHP Serialization String Validator
Created
·
2023-03-03 06:10
Flavor
·
PCRE (Legacy)
PHP serialize / unserialize __sleep __wakeup __serialize __unserialize
Submitted by
Abdullah Pazarbasi
-2
Quizzes Feedpager – XML
Created
·
2022-01-27 13:30
Flavor
·
PCRE (Legacy)
Matches the XML pages of the /quizzes routes for feedpager
Submitted by
anonymous
-2
Answer to 10
Created
·
2020-07-24 21:24
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-2
Get the HTML table tag and all content from within
Created
·
2015-11-10 02:04
Flavor
·
PCRE (Legacy)
no description available
Submitted by
Pedro Marcelo de Sá Alves
-2
Parse all simple math expressions (decimals, whole, negative)
Created
·
2015-11-09 00:47
Flavor
·
PCRE (Legacy)
-2.02^3(2+3.024)+3.14159-(45^23)/(19-4)
Submitted by
anonymous
-2
Get begining of url (subdomain)
Created
·
2015-10-29 22:58
Flavor
·
PCRE (Legacy)
In between 2 delimiters
Submitted by
anonymous
-2
DOTNET
Created
·
2015-10-29 09:53
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-2
Simple Username Pattern
Created
·
2015-10-28 16:54
Flavor
·
PCRE (Legacy)
a simple username pattern
Submitted by
Saeed Tabrizi
-2
boolean
Created
·
2015-10-23 13:12
Flavor
·
PCRE (Legacy)
Value must be either true or false
Submitted by
nstaal
-2
float
Created
·
2015-10-21 23:31
Flavor
·
PCRE (Legacy)
matches 123.4f 123.4F .4f .4F 5f 5F
Submitted by
Mateusz Paluch
-2
email
Created
·
2015-10-16 09:20
Flavor
·
PCRE (Legacy)
matches normal email addresses like example@gmail.com but also addresses with ip addresses like example@192.168.0.34 (not ipv6)
Submitted by
Adrian Kühni
-2
remove eval(base64_decode( ));
Created
·
2015-10-14 09:41
Flavor
·
PCRE (Legacy)
\seval\(base64_decode\(?\)\);
Submitted by
manish kumar
-2
Find labels without preferredMaxLayoutWidth and multiple lines in Appl
Created
·
2015-10-13 10:06
Flavor
·
PCRE (Legacy)
Allows to find label generating warnings like "Automatic Preferred Max Layout Width before iOS 8.0" in XCode
Submitted by
Alessio Anesa
-2
Brazillian Telephone Number validator
Created
·
2015-10-06 13:48
Flavor
·
PCRE (Legacy)
A basic validator for BR phone numbers
Submitted by
Yemolai
-2
French phone attempt
Created
·
2015-10-01 12:35
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-2
Substitute text between brackets
Created
·
2015-09-27 14:35
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-2
Camelize JSON
Created
·
2015-09-25 17:55
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-2
march html tag
Created
·
2015-09-16 17:03
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-2
xml_kv_extraction
Created
·
2015-09-16 03:01
Flavor
·
PCRE (Legacy)
Basic XML key-value extraction
Submitted by
Keith Muggleton
-2
12 Hour Time Pattern
Created
·
2015-09-15 06:22
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-2
3~4 length password
Created
·
2015-09-11 06:41
Flavor
·
PCRE (Legacy)
1.the string can be of lenght 3 or 4 2.the string should start with a alphabet 3.the string should contain atleast one alphabet and number.
Submitted by
Kerwin
-2
^.+(c.youtube.com|googlevideo.com|cdn.dailymotion.com).*\$
Created
·
2015-09-08 06:32
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-2
MYSQL DateTime validator (leap year support)
Created
·
2015-09-01 05:31
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-2
6 Digit ID
Created
·
2015-08-31 11:21
Flavor
·
PCRE (Legacy)
Very basic. My first proper REGEX. 6 Digit ID starting with e. Must be lowercase. must start with an e (can change to another letter)
Submitted by
BejasC#
-2
ex_3_b
Created
·
2015-08-27 22:11
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-2
LogFile Alert: Pattern 'Memory queue for message type 1: 3038' found i
Created
·
2015-08-27 15:22
Flavor
·
PCRE (Legacy)
LogFile Alert: Pattern 'Memory queue for message type 1: 3038' found in /var/log/me
Submitted by
anonymous
Load More
Community Library Entry
1
Regular Expression
Created
·
2021-06-29 00:54
Flavor
·
PCRE2 (PHP)
/
Jude
?
\d
{1,3}
:
\d
{1,3}
(
-
\d
{1,3}
)?
\b|\b
jud
?
\d
{1,3}
:
\d
{1,3}
(
-
\d
{1,3}
)?
\b|\b
jd
?
\d
{1,3}
:
\d
{1,3}
(
-
\d
{1,3}
)?
\b
/
gmi
Open regex in editor
Description
Searches for expressions containing biblically accurate references for the book of Jude.
Submitted by
anonymous