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 2,320 community submitted regex patterns...
1
Captures entire log line that meet the criteria
Python
If you need to grab an entire log line based on criteria (error,warning,notice,info,debug), use this Regexp and change the parameters accordingly.
Submitted by
Neill Lima
-
10 years ago
3
how to match both lines?
Python
f_name may contain spaces, numbers, characters,... so I would go for a but then I couldn't use [...]? anymore to match the second line?
Submitted by
anonymous
-
10 years ago
-1
for checking code number 1111/111111111
Python
no description available
Submitted by
dejv
-
10 years ago
0
Remove litteral \n
Python
This regex remove \n like litteral string not a newline
Submitted by
Nkio
-
10 years ago
1
torstatus.blutmagie.de list parser
Python
parse most column for tor exit nodes.
Submitted by
bandoche
-
10 years ago
2
xbmc - videodevil - chaturbate - test
Python
no description available
Submitted by
anonymous
-
10 years ago
82
Distinguish torrent files (series vs movies)
Python
A neat regex for finding out whether a given torrent name is a series or a movie. Returns the full name of the series with the separator needed to make it pretty (ie, replace it with space or what you want). Also returns the season number or the year for the movie/series, depending on what was prev...
Submitted by
Firas Dib
-
10 years ago
(Last modified a year ago)
1
Regular expression to remove all puncutation
Python
Removes all of the puncutation present inlcuding \n,\t,\r
Submitted by
Abhinav Gupta
-
10 years ago
0
Find email address in a string.
Python
no description available
Submitted by
anonymous
-
10 years ago
0
Fix Spanish Quote Marks
Python
Adds a ¿, for ¡ replace the last ? for !
Submitted by
paconaranjo
-
10 years ago
0
how I retrieve the domain without www or other cruft
Python
no description available
Submitted by
bronsen
-
10 years ago
1
example
Python
group matching
Submitted by
anonymous
-
10 years ago
8
Extract Protocol, URL, URL Path, get parameters and hash from URI
Python
This is simplified from my last submission.
Submitted by
Dale O'Brien
-
10 years ago
1
Parse a HTML URL
Python
Break a URL into parts: protocol url path get parameters hash
Submitted by
Dale O'Brien
-
10 years ago
1
quoted string in VB.net format
Python
Get all strings in vb.net format (even nested quotes"
Submitted by
Alan Moore (http://stackoverflow.com/questions/2148587/finding-quoted-strings-with-escaped-quotes-in-c-sharp-using-a-regular-expression) modified by j
-
10 years ago
0
almost any similar word
Python
no description available
Submitted by
anonymous
-
10 years ago
0
Words that start with...
Python
no description available
Submitted by
anonymous
-
10 years ago
2
Parasite subtitles
Python
no description available
Submitted by
Andrey Spiridonov
-
10 years ago
1
Path to devices
Python
no description available
Submitted by
Airam
-
10 years ago
7
CSS Import
Python
no description available
Submitted by
anonymous
-
10 years ago
1
...
113
114
115
116
Community Library Entry
0
Regular Expression
Python
r"
(?<=
PAGE
\(
)
(?!
990
)
(?P<pg>
[
\d
]
{1,4}
)
|
(?:
(?<=
_r
|
[
\w
]
\(
)
(?P<txt_a>
[
『「“
]
[^
\n
]
+
(?=
_n
\n
)
)
|
(?P<txt_b>
[
『「“
]
.
*
)
)
"
gm
Open regex in editor
Description
Fate stay/night PS Vita version parsing
Submitted by
anonymous
-
a year ago
(Last modified a year ago)