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,040 community submitted regex patterns...
2
Prime numbers test
Python
Given a number N represented by its unary form N(1), when RegEx doesn't match N(1), N is prime
Submitted by
LexDias
-
9 years ago
2
youtube link + id + <a>
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
better orf finder
PCRE (PHP <7.3)
don't use my older one
Submitted by
tnrich
-
9 years ago
2
JSON BizTalk schema output
PCRE (PHP <7.3)
To convert the BizTalk schema output to one string
Submitted by
Emiel Kool
-
9 years ago
1
regex to get N words from a line
ECMAScript (JavaScript)
usefull if you want to return (N) words instead of (N) chars
Submitted by
Pavel Dominguez
-
9 years ago
-2
Match the first and last char of a word
PCRE (PHP <7.3)
no description available
Submitted by
pedroppinheiro
-
9 years ago
1
Match a string that is equal to a string before a '='
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Valmaks_rename_big_strings
PCRE (PHP <7.3)
no description available
Submitted by
witamin
-
9 years ago
2
Match 'words' with internal punctuation retained
Python
Matches words without external punctuation but with internal punctuation.
Submitted by
anonymous
-
9 years ago
0
Select everything outside of table tags
PCRE (PHP <7.3)
no description available
Submitted by
ReijMan
-
9 years ago
0
Date Validation
ECMAScript (JavaScript)
no description available
Submitted by
Ashish
-
9 years ago
2
remove n lines after matching pattern
PCRE (PHP <7.3)
stackoverflow question
Submitted by
irom77
-
9 years ago
2
inline img
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Matches Content-Type field of HTTP response
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
ip/host:port parser (proxy lists)
PCRE (PHP <7.3)
simple ip:port or host:port parser capturing ip or host and port, usually used for proxy lists
Submitted by
The Voider
-
9 years ago
-1
Integers and Decimals
PCRE (PHP <7.3)
Matches integers and decimals with or without thousands grouping.
Submitted by
Franz Alex Gaisie-Essifie
-
9 years ago
-2
domain name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Floating Point
ECMAScript (JavaScript)
Tests a floating point number
Submitted by
Josh L. Rasmussen
-
9 years ago
-2
lowercase words followed by uppercase words. Be able to separate words
PCRE (PHP <7.3)
Tinta del paísSuelo: Arena 100%Altitud media: 900mEdad del viñedo: PrefiloxeraRendimiento: 1800 Kg/haLugar: Ribera del Duero, FuentelcéspedBodega:Bodegas y Viñedos Juan Manuel Burgos
Submitted by
Eduard eduard.fabra@uvinum.com
-
9 years ago
1
pure url and uri
ECMAScript (JavaScript)
no description available
Submitted by
Thiago Souza
-
9 years ago
1
...
49
50
51
52
53
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?:
(
<span
\s
*
(
[
a
-
z
\-
]
+
=
\"
[
A
-
Za
-
z
\-
\s
\:\.
]
+
\"
\s
*
)+
data-placeholder=
\"
(?<property>
[
a
-
zA
-
Z
\.
]
+
)
\"
\s
+
data-data-source=
\"
(?<dataSource>
[
a
-
zA
-
Z:
]
+
)
\"
>
\s
?
[
<>a
-
z
\"
\s
\/\-\=\.
A
-
Z
]
+
\s
*
<
\/
span>
)
)+
/
gm
Open regex in editor
Description
Search and change many regex matches
Submitted by
anonymous
-
a year ago