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
Community Patterns
Search among 6,080 community submitted regex patterns...
0
Floating point and scientific notation regex
PCRE2 (PHP >=7.3)
Matches real/FP numbers which may optionally also include a scientific notation/exponent part.
Submitted by
Kevin Winner
-
a year ago
0
TAP Result Log issue
.NET 7.0 (C#)
This might help you to not miss some because the (.....), is dependent on the length.
Submitted by
Darwin Subramaniam
-
a year ago
(Last modified a year ago)
0
dc/i
PCRE2 (PHP >=7.3)
特定の文字移行続く
Submitted by
anonymous
-
a year ago
0
Print
PCRE2 (PHP >=7.3)
Print
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Find encoded "&" and extract parts
PCRE2 (PHP >=7.3)
Gets the parts of a url either side of an encoded "&" (as \u0026).
Submitted by
anonymous
-
a year ago
0
match non-english number beside @
ECMAScript (JavaScript)
im looking for way to much the above title, in reliable way
Submitted by
perymimon
-
a year ago
0
Extract the subject of the company
PCRE2 (PHP >=7.3)
Extracts the subject of the company from strings extracted from PDF documents. \n represents a line break in the original PDF document.
Submitted by
marr.vinn
-
a year ago
0
Word boundary with umlauts
ECMAScript (JavaScript)
Word boundary \b does not support all kinds of umlauts.
Submitted by
anonymous
-
a year ago
0
Enum map to test cases
.NET 7.0 (C#)
.
Submitted by
DenKu1
-
a year ago
0
enum fields to enum mapping
PCRE2 (PHP >=7.3)
.
Submitted by
DenKu1
-
a year ago
0
Find more than one word in SQL
PCRE2 (PHP >=7.3)
Finds instances of more than one word in SQL.
Submitted by
Matthew Hiebing
-
a year ago
0
4 Digits 3 Decimals
PCRE2 (PHP >=7.3)
4 Digits 3 Decimals
Submitted by
anonymous
-
a year ago
0
DétectionMontantBasic
PCRE2 (PHP >=7.3)
Expression pour récupérer la valeur d'un montant sur facture
Submitted by
OurosIgnis
-
a year ago
0
datetime?
PCRE2 (PHP >=7.3)
Attempt at datetime parsing
Submitted by
anonymous
-
a year ago
0
extract numbers from DMS (degrees, minutes, seconds)
ECMAScript (JavaScript)
extract numbers from DMS (degrees, minutes, seconds). 33°28′17″ N ----> 33 / 28 / 17
Submitted by
anonymous
-
a year ago
0
conditional
PCRE2 (PHP >=7.3)
conditional
Submitted by
anonymous
-
a year ago
0
reset capture
PCRE2 (PHP >=7.3)
reset capture
Submitted by
anonymous
-
a year ago
0
reset
PCRE2 (PHP >=7.3)
reset
Submitted by
anonymous
-
a year ago
0
reset1
PCRE2 (PHP >=7.3)
reset1
Submitted by
anonymous
-
a year ago
0
Include non-whitespace
PCRE2 (PHP >=7.3)
Prevents whitespace only string
Submitted by
anonymous
-
a year ago
1
...
267
268
269
270
271
...
304
URL regexp
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
11 years ago