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 9,620 community submitted regex patterns...
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
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
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
seasons
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Extracting Numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
sushiroles
PCRE (PHP <7.3)
some sushi role
Submitted by
anonymous
-
10 years ago
1
Test prioritized match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
mama
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
Honza BÅ™eÄka
-
10 years ago
1
Recursive Search
PCRE (PHP <7.3)
Proof of concept to omit restriction with '' http://stackoverflow.com/questions/15584634/about-php-regexp-for-recursive-pattern?answertab=oldest#tab-top http://stackoverflow.com/questions/25408579/regex-to-match-blocks-inside-blocks
Submitted by
themroc
-
10 years ago
1
Recursive search
PCRE (PHP <7.3)
Proof of concept to omit restriction with '' http://stackoverflow.com/questions/15584634/about-php-regexp-for-recursive-pattern?answertab=oldest#tab-top http://stackoverflow.com/questions/25408579/regex-to-match-blocks-inside-blocks
Submitted by
themroc
-
10 years ago
1
Recursive search
PCRE (PHP <7.3)
Proof of concept to omit restriction with '' http://stackoverflow.com/questions/15584634/about-php-regexp-for-recursive-pattern?answertab=oldest#tab-top http://stackoverflow.com/questions/25408579/regex-to-match-blocks-inside-blocks
Submitted by
themroc
-
10 years ago
2
SFTP or FTP url
PCRE (PHP <7.3)
Parse an SFTP or FTP url and brak it into named capture groups.
Submitted by
Cullen Johnson
-
10 years ago
13
regex101.com id grabber
PCRE (PHP <7.3)
grabs the ID for the regex101.com permalink to code
Submitted by
chris mccoy
-
10 years ago
1
Escape non-Ascii Character
PCRE (PHP <7.3)
Replace non-ascii characters with empty spaces.
Submitted by
Huchister
-
10 years ago
1
Matching Multiline Strings in Large Text File
PCRE (PHP <7.3)
Need Help, Matching Multiline Strings in Large Text File
Submitted by
jholderman
-
10 years ago
1
...
466
467
468
469
470
...
481
Community Library Entry
-2
Regular Expression
PCRE (PHP <7.3)
/
<
\?
xml
[^
?
]
*
\?
><
(?<root>
\w
+
)
>
(
.
*
?
)
<
\/
\1
>
\n
?
/
g
Open regex in editor
Description
as title says
Submitted by
Doro
-
10 years ago