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 12,080 community submitted regex patterns...
1
email regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
contents of square brackets
PCRE (PHP <7.3)
eg. test[test Inner] returns 'test inner'
Submitted by
anonymous
-
9 years ago
1
test
PCRE (PHP <7.3)
this is a test
Submitted by
anonymous
-
9 years ago
1
episode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Swap key and value in JavaScript object
PCRE (PHP <7.3)
This will allow you to swap key and value in a JavaScript object. So { language: "romanian" } will become { romanian: "language" }
Submitted by
Victor
-
9 years ago
1
-> Total_Business_Units -> TBU000 -> TBU200 -> TBU299 -> TBU201 -> TB
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
keyword with colon and value
PCRE (PHP <7.3)
keyword : value
Submitted by
anonymous
-
9 years ago
1
kosta
PCRE (PHP <7.3)
kosta
Submitted by
kosta
-
9 years ago
0
AAA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
extract file name from URL
PCRE (PHP <7.3)
extract file name from URL
Submitted by
m4r35
-
9 years ago
0
select div like things
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
sourcetype
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
To find all the text in a paragraph ignoring numeric and special chare
PCRE (PHP <7.3)
no description available
Submitted by
srinath
-
9 years ago
1
Numeric input allow commas and decimal point
PCRE (PHP <7.3)
Match numeric input that may or may not include commas and/or decimal point.
Submitted by
anonymous
-
9 years ago
1
JS Regex to get full filename from url.
PCRE (PHP <7.3)
JS Regex to get full filename from url even if the filename contains "-".
Submitted by
Vivek Shah
-
9 years ago
1
at-mention
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
(Last modified 9 years ago)
1
Keil C ARM MDK Error Parser
PCRE (PHP <7.3)
This regex will work with Keil C ARM MDK if you prefer using Eclipse
Submitted by
Peter Nguyen
-
9 years ago
0
Mobile Pattern
PCRE (PHP <7.3)
Simple Mobile Pattern
Submitted by
Saeed Tabrizi
-
9 years ago
2
Maritime Container Number Pattern
PCRE (PHP <7.3)
Pattern for container numbers. Without the digit verification of course.
Submitted by
Philippe Michiels
-
9 years ago
1
CB tools
PCRE (PHP <7.3)
no description available
Submitted by
2M
-
9 years ago
1
...
522
523
524
525
526
...
604
Community Library Entry
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
-
12 years ago