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 5,740 community submitted regex patterns...
1
Regex to detect HAML attribute expression whilst ignoring following text.
ECMAScript (JavaScript)
Can handle complex bracket expressions.
Submitted by
github.com/onlinecop
-
10 years ago
1
this
Python
stinks
Submitted by
anonymous
-
10 years ago
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
-2
Matching HTML attributes
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
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
Ping time
ECMAScript (JavaScript)
no description available
Submitted by
Tilman Griesel
-
10 years ago
-1
for checking code number 1111/111111111
Python
no description available
Submitted by
dejv
-
10 years ago
0
Bad comma puctuation
ECMAScript (JavaScript)
Just an example for a guy wanting to check space before comma
Submitted by
anonymous
-
10 years ago
1
чуваку Ñ Ð¾Ñ‚Ð²ÐµÑ‚Ð¾Ð²
ECMAScript (JavaScript)
он веÑÑŒ день мучалÑÑ Ð½Ð°Ð´ Ñ‡ÐµÑ‚Ñ‹Ñ€ÑŒÐ¼Ñ Ñимволами
Submitted by
Alex
-
10 years ago
-2
Header `Link` validator
ECMAScript (JavaScript)
no description available
Submitted by
Vaseker
-
10 years ago
-3
Number
ECMAScript (JavaScript)
Gets all numbers in a string. This includes positive and negative numbers aswell as integers and floats. By: http://www.benlorantfy.com/
Submitted by
Ben
-
10 years ago
1
(krishna)
ECMAScript (JavaScript)
() invalid, (k) valid, (kr123) valid. only () is invalid
Submitted by
krishna
-
10 years ago
1
extract JavaScript function name (corrected for specials)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
extract JavaScript function name
ECMAScript (JavaScript)
Extracts the name of the outer function. Useful to get the name of a function reference using fn.toString().
Submitted by
Jack A.
-
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
1
ytr
ECMAScript (JavaScript)
ytr
Submitted by
ytr
-
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
from Google-Maps
ECMAScript (JavaScript)
results all street-adresses from http://maps.googleapis.com/maps/api/geocode/xml?sensor=false&address=
Submitted by
PierreSash
-
10 years ago
1
...
281
282
283
284
285
...
287
Community Library Entry
2
Regular Expression
ECMAScript (JavaScript)
/
\d
+
[
.,
]
?
(
\d
+
\s
*
k
?
|
x
{2,3}
)
(?=
\s
*
(
original
|
actual
|
highway
)?
\s
*
miles
)
|
(?<=
mile
(
s
|
agex
?
)
:
?
\s
*
(
is
|
~
)?
\s
*
)
\d
+
[
.,
]
?
(
\d
+
(
\s
*
k
)?
|
x
{2,3}
)
|
(
\d
+
(
\s
*
K
)
|
x
{2,3}
)
/
i
Open regex in editor
Description
no description available
Submitted by
anonymous
-
11 years ago