Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 7,940 community submitted regex patterns...
1
Discord Bot Token
ECMAScript (JavaScript)
JS/TS regex for token validation.
Submitted by
anonymous
-
8 months ago
1
replace static url tags in templates from flask to django
PCRE2 (PHP >=7.3)
replace static url tags in templates from flask to django
Submitted by
anonymous
-
8 months ago
1
Start of Java Functions
PCRE2 (PHP >=7.3)
I wrote this regex to find all of the function headers in java.
Submitted by
anonymous
-
8 months ago
1
hyphenize
ECMAScript (JavaScript)
convert 16 chars into four hyphen separated groups
Submitted by
mco
-
8 months ago
1
L2 = {w ∈ Σ ∗ = {0, 1} ∗ | |w|1 = 2k + 1, k ∈ N}
PCRE2 (PHP >=7.3)
L2 = {w ∈ Σ ∗ = {0, 1} ∗ | |w|1 = 2k + 1, k ∈ N}
Submitted by
Alan Dantas
-
8 months ago
1
L012 = {w ∈ Σ | |w|000 = 0} ∗ = {0, 1} ∗ | |w|000 = 0}
PCRE2 (PHP >=7.3)
L012 = {w ∈ Σ | |w|000 = 0} ∗ = {0, 1} ∗ | |w|000 = 0}
Submitted by
Alan Dantas
-
8 months ago
1
L1 = {w ∈ Σ ∗ = {0, 1} ∗ | |w|0 = 2k, k ∈ N}
PCRE2 (PHP >=7.3)
L1 = {w ∈ Σ ∗ = {0, 1} ∗ | |w|0 = 2k, k ∈ N}
Submitted by
Alan Dantas
-
8 months ago
1
Exabeam NGSC REGEX FIlters
PCRE2 (PHP >=7.3)
Regex to filter Fortinet DNS Request in Exabeam Fusion
Submitted by
Jonathan Moreira
-
8 months ago
1
English address
ECMAScript (JavaScript)
English address that can start with numbers, # sign or words (\w) followed with any combination of previously mentioned. Multi-line, global and case insensitive supported. Address CANNOT START WITH \w character _ or 0 or any other symbols
Submitted by
Dr St Clair Clarke
-
8 months ago
(Last modified 8 months ago)
1
correos
PCRE2 (PHP >=7.3)
correos
Submitted by
lamusaliza
-
8 months ago
1
REGEX for parsing Received value in email headers (RFC822)
ECMAScript (JavaScript)
Example: Received: from VI1PR0102CA0029.eurprd01.prod.exchangelabs.com (2603:10a6:802::42) by VE1PR01MB5599.eurprd01.prod.exchangelabs.com (2603:10a6:803:11f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.12; Thu, 9 Jan ...
Submitted by
anonymous
-
8 months ago
1
打关随机数作弊用户uid列表
PCRE2 (PHP >=7.3)
打关随机数作弊用户uid列表
Submitted by
dong.luo
-
8 months ago
(Last modified 8 months ago)
1
Ikea web Indonesia
PCRE2 (PHP >=7.3)
Ikea website indonesia url regex
Submitted by
ival
-
8 months ago
1
Identificador de números decimales válidos
PCRE2 (PHP >=7.3)
Se soportan los números de la forma +2.3, +.34, 2.3, .5, -3.3, -.3
Submitted by
anonymous
-
8 months ago
1
Full HTML recognition for Udacity Project
PCRE2 (PHP >=7.3)
Udacity AI for Trading - Project 6: Analyzing Stock Sentiment from Twits ( Sentiment Analysis) needs a HTML parsering. Examples came from the actual course exercise. Future improvements I could identify, make it a group and parser each /texttext/ pattern, if necessary ← perhaps it may have some ...
Submitted by
Eduardo Passeto
-
8 months ago
(Last modified 8 months ago)
1
Durbar Bagerhat
PCRE2 (PHP >=7.3)
/Explore the latest news and updates about Bagerhat on Durbar Bagerhat, your go-to source for insightful articles and information/gm
Submitted by
Faisal Hossain
-
8 months ago
(Last modified 8 months ago)
1
Workaround for IIS rewrite rule redirects with urls
PCRE2 (PHP >=7.3)
Make sure http[s]:// uses two slashes, not one. IIS rewrite rules removes double slashes in the raw URL, breaking YOURLS (PHP) for example. This regexp changes all single slashes to double after a web protocol, including nested querystrings.
Submitted by
DeveloperDog
-
8 months ago
(Last modified 8 months ago)
1
Extract tag name and its content
Python
Lrc file
Submitted by
Cricar
-
8 months ago
1
Match each tag
Python
Match each tag in a lrc file
Submitted by
Cricar
-
8 months ago
1
Group tags and lyrics
Python
Group tags and lyrics in one lrc file, multiple lines
Submitted by
Cricar
-
8 months ago
1
...
16
17
18
19
20
...
397
CFF-definitions.reference.PMCID (1.3.0)
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
PMC
[
0
-
9
]
{7,8}
$
/
gm
Open regex in editor
Description
Pattern for validating a definitions.reference.pmcid value in the Citation File Format (CFF), v1.3.0
Submitted by
stephan druskat, jurriaan h. spaaks
-
9 months ago