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
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
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
Html Tags
Created
·
2015-09-10 09:06
Flavor
·
ECMAScript (JavaScript)
Matches HTML structure
Submitted by
sagar
-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
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
Select a HTML table and all its innerHTML
Created
·
2015-04-15 19:49
Flavor
·
PCRE (Legacy)
no description available
Submitted by
@ixzy24
-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
mama
Created
·
2014-08-22 02:48
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
-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
-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
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
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
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
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
email regexp
Created
·
2017-07-14 05:25
Flavor
·
ECMAScript (JavaScript)
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
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
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
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
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
search all special characters
Created
·
2015-10-14 23:02
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
rlynjb
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