Please enable JavaScript to use regex101
Regular
Expressions
101
Support Regex101
Social
Info
Regex Editor
Community Patterns
Account
Regex Quiz
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
0
email matcher
Created
·
2024-05-28 16:30
Updated
·
2024-05-28 16:31
Flavor
·
PCRE2 (PHP)
match some emails and extract their local part and domain
Submitted by
dang duomg 191
0
Validate comma-separated list of values (allowed: words; digits; special characters; single non-trailing non-leading spaces;)
Created
·
2023-07-31 07:50
Flavor
·
PCRE2 (PHP)
Validate comma-separated list of values (allowed: words; digits; special characters; single non-trailing non-leading spaces;)
Submitted by
anonymous
0
Salesforce - Flow Naming Conventions
Created
·
2023-07-28 17:37
Updated
·
2023-07-28 18:34
Flavor
·
PCRE2 (PHP)
Ensure that Salesforce Flow name meets the following standards: - -
Submitted by
anonymous
0
Splitting Inconsistent Addresses
Created
·
2023-07-28 16:45
Flavor
·
PCRE2 (PHP)
This pattern matches inconsistent addresses that have various street names and coordinates. This captures the Address 1 & 2, Type of Street, Coordinates (NE, NW, SE,SW) City, State, and Full zip
Submitted by
Nadira S Fant
0
BDO client ID
Created
·
2023-07-28 12:58
Flavor
·
PCRE2 (PHP)
Validates client IDs
Submitted by
anonymous
0
Regex many
Created
·
2023-07-27 19:11
Flavor
·
PCRE2 (PHP)
Search and change many regex matches
Submitted by
anonymous
0
ejemplo 2
Created
·
2023-07-11 09:37
Flavor
·
PCRE2 (PHP)
este es el ejemplo de Expr numero 2
Submitted by
anonymous
0
Valid Emmet Candidate before Expansion
Created
·
2023-07-10 10:41
Updated
·
2023-07-13 03:17
Flavor
·
PCRE2 (PHP)
ul>(li2>a{link$@-})2 is a valid string that can be expanded by Emmet, while `` is not.
Submitted by
Chattille
0
HTML5 email regex
Created
·
2023-07-09 03:48
Flavor
·
PCRE2 (PHP)
Source Mozilla.
Submitted by
anonymous
0
RegEx for matching PDF files in browser
Created
·
2023-07-08 06:26
Updated
·
2023-10-06 05:59
Flavor
·
PCRE2 (PHP)
Made for my niche use of adding it to match either PDF files that being viewed directly from a website or when viewed from your local computer. This was done so that I can add it on my usercontent.css file in Firefox with the @-moz-document url-prefix
Submitted by
Benji The Doggy
0
Attribute value
Created
·
2023-07-07 15:12
Flavor
·
PCRE2 (PHP)
eeee
Submitted by
Me
0
AT+ - Image
Created
·
2023-07-07 11:19
Flavor
·
PCRE2 (PHP)
parse at+ syntax
Submitted by
Carsten
0
Retrieve all number version from tag
Created
·
2023-07-06 06:41
Flavor
·
PCRE2 (PHP)
This regex will retrieve all number in a given tag
Submitted by
Marc Masure
0
Remove .html from url
Created
·
2023-07-05 11:07
Flavor
·
PCRE2 (PHP)
I used in Nginx to rewrite the location from http://example.com/about.html to http://example.com/about
Submitted by
Vijay Amirtha Raj J
0
telegram links
Created
·
2023-07-04 18:23
Updated
·
2023-07-04 18:25
Flavor
·
PCRE2 (PHP)
.
Submitted by
AC Lover
0
CUIT Argentina sin guiones
Created
·
2023-07-03 12:38
Flavor
·
PCRE2 (PHP)
CUIT Argentina sin guiones
Submitted by
Lucas David Ferrero
0
All Strings for same-lines, Syntax or Parsing
Created
·
2023-07-02 10:16
Updated
·
2023-07-02 10:19
Flavor
·
PCRE2 (PHP)
All Strings on One Line Php java javascript python escapes all regex sq inside dq pair dq insside sq pair
Submitted by
kai gouthro
0
international telephone number incl. european notation
Created
·
2023-06-29 14:13
Flavor
·
PCRE2 (PHP)
international telephone number incl. european notation
Submitted by
Florian Ledeboer
0
request_uri_no_qs
Created
·
2023-06-28 14:55
Flavor
·
PCRE2 (PHP)
Regular expression used to get the encoded URI portion of the $request_uri when unencoded $uri breaks a reverse proxy. map $request_uri $request_uri_no_qs { "~^(?+)\?(?:.*)?" $m; default $request_uri; }
Submitted by
jpatton@gmail.com
0
Match Australian Adresses
Created
·
2023-06-27 07:58
Flavor
·
PCRE2 (PHP)
This Regex Matches Australian Adresses
Submitted by
anonymous
0
Extracting data from Authorization header
Created
·
2023-06-26 01:20
Flavor
·
PCRE2 (PHP)
Handful regex for parsing Authorization, WWW-Authenticate etc. headers
Submitted by
Alex Furnica
0
minecraft commands. mcfunction syntax commands detection.
Created
·
2023-06-25 08:32
Flavor
·
PCRE2 (PHP)
finds every command in 1st group and subcommands in 2nd group. excludes every comments, and matches command even if it has spaces in the beginning. This exact regex is used for datapackhub.net datapack mcfunction downgrader.
Submitted by
anonymous
0
Metal Gear 3 Word Book
Created
·
2023-06-23 15:19
Flavor
·
PCRE2 (PHP)
Word Book of Metal Gear 3.
Submitted by
Sanperish
0
Trim part of filename to limit length
Created
·
2023-06-22 09:23
Flavor
·
PCRE2 (PHP)
Truncate the middle block in the filename if it exceeds the maximum length and leave constant blocks at the beginning and end
Submitted by
Andrey Smirnov
0
Busca parametros função
Created
·
2023-06-21 16:25
Flavor
·
PCRE2 (PHP)
Busca os parametros de uma função
Submitted by
anonymous
0
best2bee topic standard
Created
·
2023-06-21 13:17
Flavor
·
PCRE2 (PHP)
Submitted by
anonymous
0
routestate
Created
·
2023-06-21 13:07
Flavor
·
PCRE2 (PHP)
pathfinder routestate logs are unreadable
Submitted by
anonymous
0
RFC-3339
Created
·
2023-06-20 20:55
Flavor
·
PCRE2 (PHP)
A regex to validate RFC-3339 timestamps
Submitted by
anonymous
0
檢查密碼是否符合要求
Created
·
2023-06-20 08:20
Flavor
·
PCRE2 (PHP)
長度在12到30個字符之間; 至少包含一個小寫字母; 至少包含一個大寫字母; 至少包含一個數字; 至少包含一個特殊符號(如!@#$%^&*()_+{}|:"?[];',./`~-)。
Submitted by
SCL
0
Signals
Created
·
2023-06-20 04:48
Flavor
·
PCRE2 (PHP)
Replace Signal
Submitted by
RedFox Regex
0
Extract Dive Properties from Dive Code
Created
·
2023-06-19 16:46
Flavor
·
PCRE2 (PHP)
Extracts the following properties from a properly formatted dive code as specified by the World Aquatics organisation.
Submitted by
Hessel Bierma
0
Bangladeshi Phone Number Matching Regex
Created
·
2023-06-18 11:58
Flavor
·
PCRE2 (PHP)
Bangladeshi Any Phone Number Validated preg_match() in php function
Submitted by
anonymous
0
Parsing a Log File Entry
Created
·
2023-06-17 10:16
Flavor
·
PCRE2 (PHP)
This regular expression matches the start of the string at the position where we have one or more alphanumeric characters followed by a space. Afterwards, we have a digit (one or more). Later, we have one or more spaces followed by a time format followed by a space and alphanumeric characters. The interesting part is the use of parenthesis to create match groups. There are two match groups that will be created.
Submitted by
Muhammad Afroz Khan Ghauri
0
Clearlinux Repository file pattern
Created
·
2023-06-17 05:43
Updated
·
2023-06-17 15:06
Flavor
·
PCRE2 (PHP)
not production ready
Submitted by
anonymous
0
Regex PO 2
Created
·
2023-06-16 14:33
Flavor
·
PCRE2 (PHP)
Regex PO 2
Submitted by
anonymous
0
Regex PO
Created
·
2023-06-16 14:28
Flavor
·
PCRE2 (PHP)
Regex PO
Submitted by
anonymous
0
8 Character Password
Created
·
2023-06-16 03:03
Flavor
·
PCRE2 (PHP)
RegEx
Submitted by
anonymous
0
Kaspersky Security Center update domains (HTTP)
Created
·
2023-06-14 16:34
Updated
·
2023-06-14 16:35
Flavor
·
PCRE2 (PHP)
Match Kaspersky Security Center update domains for exclusion from HTTP logs
Submitted by
kernelmustard
0
Special character finder
Created
·
2023-06-14 07:58
Flavor
·
PCRE2 (PHP)
yep
Submitted by
anonymous
0
Match XML Comment
Created
·
2023-06-14 07:18
Flavor
·
PCRE2 (PHP)
Match any XML comment in an XML Document
Submitted by
Anthony Bateman
0
Auto sentence capitalization
Created
·
2023-06-14 07:02
Updated
·
2023-06-16 02:28
Flavor
·
PCRE2 (PHP)
only works in implementations with \U
Submitted by
anonymous
0
IP address validation
Created
·
2023-06-14 05:09
Flavor
·
PCRE2 (PHP)
IP address validation
Submitted by
anonymous
0
ESET Mobile Security activation URI (HTTP)
Created
·
2023-06-13 14:58
Updated
·
2023-06-13 16:25
Flavor
·
PCRE2 (PHP)
Match the ESET Mobile Security activation URI for exclusion from HTTP logs
Submitted by
kernelmustard
0
ESET Mail Security Antispam module domains (DNS)
Created
·
2023-06-13 14:31
Updated
·
2023-06-13 16:23
Flavor
·
PCRE2 (PHP)
Match ESET Mail Security Antispam module domains for exclusion from DNS logs
Submitted by
kernelmustard
0
ESET Password Manager domains (DNS)
Created
·
2023-06-13 13:58
Updated
·
2023-06-13 16:03
Flavor
·
PCRE2 (PHP)
Match ESET Password Manager domains for exclusion from DNS logs
Submitted by
kernelmustard
0
varnish
Created
·
2023-06-13 09:24
Flavor
·
PCRE2 (PHP)
varnish config
Submitted by
anonymous
0
ESET Threat Lab domains (DNS)
Created
·
2023-06-12 19:33
Updated
·
2023-06-13 16:03
Flavor
·
PCRE2 (PHP)
Match ESET Threat Lab domains for exclusion from DNS logs
Submitted by
kernelmustard
0
ESET LiveGrid reputation database (DNS)
Created
·
2023-06-12 19:24
Updated
·
2023-06-13 16:01
Flavor
·
PCRE2 (PHP)
Match ESET LiveGrid reputation database domains for exclusion from DNS logs
Submitted by
kernelmustard
0
ESET Secure Authentication Provisioning Server (DNS)
Created
·
2023-06-12 19:07
Updated
·
2023-06-13 15:57
Flavor
·
PCRE2 (PHP)
Match domains of ESET Secure Authentication Provisioning Server for exclusion from DNS logs
Submitted by
kernelmustard
0
Kaspersky Update Domains
Created
·
2023-06-12 15:03
Updated
·
2023-06-14 17:14
Flavor
·
PCRE2 (PHP)
Match Kaspersky update domains for exclusion from DNS logging
Submitted by
kernelmustard
Load More
Community Library Entry
3
Regular Expression
Created
·
2013-10-04 03:08
Flavor
·
PCRE (Legacy)
/
^
(?=
.
{2}
(
.
)
)(?=
.
{5}
(
.
)
)(?=
.
{7}
(
.
)
)
/
Open regex in editor
Description
capture Nth character from string, 3 times
Submitted by
K.