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...
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
2
full asshole
ECMAScript (JavaScript)
no description available
Submitted by
alex
-
10 years ago
1
between quotes
PCRE (PHP <7.3)
Grabbing data beteween quotes.
Submitted by
anonymous
-
10 years ago
1
URL-safe, human-safe friendly IDs
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
test
ECMAScript (JavaScript)
test
Submitted by
test
-
10 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
3
Find URLs in markdown where the lines have been wrapped
Python
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
nginx rewrite
ECMAScript (JavaScript)
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
0
Searching for bracketed fields and optional parameters
ECMAScript (JavaScript)
This is a quick test of how to add optional identifiers to a fieldname search in REDCap
Submitted by
Andy Martin
-
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
...
881
882
883
884
885
...
902
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
(?<protocol>
s
?
ftp
)
:
\/\/
(?:
(?<user>
[^
@
\s
]
+
)
@
)?
(?<host>
[^
\?
\s
\:
]
+
)
(?:
\:
(?<port>
[
0
-
9
]
+
)
)?
(?:
\?
(?<password>
.
+
)
)?
/
g
Open regex in editor
Description
Parse an SFTP or FTP url and brak it into named capture groups.
Submitted by
Cullen Johnson
-
10 years ago