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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 18,000 community submitted regex patterns...
0
/^([a-z]).*\1$|^[a-z]{1}$/gm
PCRE2 (PHP >=7.3)
regex that will test string that begins and end with the same string character and also works if there is only one character in string
Submitted by
Ananya
-
2 years ago
0
Match between two strings
PCRE2 (PHP >=7.3)
(?<=This is)(.*)(?=sentence)
Submitted by
anonymous
-
2 years ago
0
Xml Element Attributes
PCRE2 (PHP >=7.3)
View attributes for an XML or HTML element
Submitted by
anonymous
-
2 years ago
0
User-Agent
PCRE (PHP <7.3)
Parser
Submitted by
sn3kdev
-
2 years ago
0
Twitter Question
PCRE2 (PHP >=7.3)
Gramática: S->E S->aA S->bB A->E A->bB...
Submitted by
anonymous
-
2 years ago
0
HTML Image Regex
Java 8
This code will find image files with .gif and .jpg extensions which are present in a HTML or CSS code. Here I am using the prefix '/asmproxy/' to identify the resource and then checking if extension ends with a .gif or .jpg. This Regex has its limitations as we are using prefix.
Submitted by
Suman Mummaneni
-
2 years ago
0
Looking for valid phone number
Python
This locates a valid phone number in a list of phone numbers
Submitted by
Dandaps
-
2 years ago
0
c++ function signature
PCRE2 (PHP >=7.3)
c++ function signature
Submitted by
anonymous
-
2 years ago
0
Tratamento DUE - DRAFT BL
PCRE2 (PHP >=7.3)
expressão pra verificar a presença da informação da DUE no Draft
Submitted by
anonymous
-
2 years ago
0
Find image links
Python
Finds image links, for example, links to other's pages on personal webpages.
Submitted by
anonymous
-
2 years ago
0
اعتبارسنجی آدرس فارسی
PCRE2 (PHP >=7.3)
متن آدرس فارسی را به آرایه تبدیل می کند
Submitted by
anonymous
-
2 years ago
0
Recupérer des paramètre d'un plugin Joomla
PCRE2 (PHP >=7.3)
Vous trouverez ici la possibilité de récupérer des paramètre d'un plugin Joomla s'il sont de la forme {pubdate:start=2020-02-01:stop=2025-02-02}Contenu HTML {/pubdate}
Submitted by
anonymous
-
2 years ago
0
detect proxy links
Python
can detect socks and http proxies and also authenticated proxies
Submitted by
Elyas Najibzadeh
-
2 years ago
(Last modified 2 years ago)
0
Remove Json sub-element
PCRE2 (PHP >=7.3)
Remove sub-element from a json
Submitted by
hafizotz
-
2 years ago
0
CSS RGB validation
ECMAScript (JavaScript)
It validates the RGB expression doesn't break the CSS parser.
Submitted by
Martin
-
2 years ago
(Last modified 2 years ago)
0
수량자 실습
PCRE2 (PHP >=7.3)
수량자 실습
Submitted by
ASJ
-
2 years ago
0
^[-0-9\.,]+$
PCRE2 (PHP >=7.3)
123.456.789,00 -123.456.789,00
Submitted by
anonymous
-
2 years ago
0
^[A-Z,a-z,\-, ,\&]+$
.NET 7.0 (C#)
Koray Bilgi, Text-Regex
Submitted by
anonymous
-
2 years ago
0
01 Jan 2022 Mon 01:02:03
.NET 7.0 (C#)
01 Jan 2022 Mon 01:02:03
Submitted by
anonymous
-
2 years ago
0
USD
.NET 7.0 (C#)
USD
Submitted by
anonymous
-
2 years ago
1
...
869
870
871
872
873
...
900
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
\b
(
\d
{1,2}
|
1
\d
{2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\b
\.
\b
(
\d
{1,2}
|
1
\d
{2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\b
\.
\b
(
\d
{1,2}
|
1
\d
{2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\b
\.
\b
(
\d
{1,2}
|
1
\d
{2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\b
"
gm
Open regex in editor
Description
expression to capture valid IP
Submitted by
anonymous
-
2 years ago