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 11,500 community submitted regex patterns...
1
Test
PCRE (PHP <7.3)
Test
Submitted by
Test
-
10 years ago
4
Command handling
PCRE (PHP <7.3)
Handles commands like in CMD
Submitted by
anonymous
-
10 years ago
2
python regex
Python
no description available
Submitted by
anonymous
-
10 years ago
0
first word plus string
PCRE (PHP <7.3)
first word and resulting string
Submitted by
anonymous
-
10 years ago
2
Parse keywords from search string
PCRE (PHP <7.3)
no description available
Submitted by
@bananascript
-
10 years ago
1
Test
PCRE (PHP <7.3)
PO BOX
Submitted by
anonymous
-
10 years ago
1
C# Regex Class acts odd
PCRE (PHP <7.3)
Based on my understanding of Regex, the string “10†matches the Regex “^([0-9])(\\)$â€. To validate it, I tried the regex and the text “10†on the website and it worked. But when I tried the same with C# code, it failed.Only by adding a "?", making the regex “^([0-9])(\\)?$†makes the...
Submitted by
anonymous
-
10 years ago
3
UUID
PCRE (PHP <7.3)
no description available
Submitted by
Jason
-
10 years ago
1
17a aber nicht 17.
PCRE (PHP <7.3)
no description available
Submitted by
ArSn
-
10 years ago
-2
Simplify HTML
PCRE (PHP <7.3)
no description available
Submitted by
LA
-
10 years ago
1
regExplication
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Match Date with Month spelled out
Python
no description available
Submitted by
Drew
-
10 years ago
0
phone matcher
PCRE (PHP <7.3)
phone matcher for following formats (123).234.4567 (123)-234-4567 (617) 495-1797 (617) 495 1797 (617) 4951797...
Submitted by
anonymous
-
10 years ago
1
erb match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
erb
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Month Day, Year match
Python
Match a date in the following Month Day, Year format: June 14, 2013
Submitted by
Drew
-
10 years ago
0
Can't figure out how to split this
Python
I need to group each "lease" on its own and I must be missing something :(
Submitted by
cereal
-
10 years ago
3
xferlog parser (proftpd, ftpd, vsftpd, etc..)
PCRE (PHP <7.3)
This pulls out all the fields from a standard xferlog format log. Format specified here http://www.castaglia.org/proftpd/doc/xferlog.html
Submitted by
Robin Kearney
-
10 years ago
2
log4j log parsing
PCRE (PHP <7.3)
This pulls out all the fields in a log4j field. Suitable for use in a Logstash Grok pattern or similar
Submitted by
Robin Kearney
-
10 years ago
1
between quotes
PCRE (PHP <7.3)
Grabbing data beteween quotes.
Submitted by
anonymous
-
10 years ago
1
...
557
558
559
560
561
...
575
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