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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 5,900 community submitted regex patterns...
1
TV Show
Python
Regex for parsing tv torrent
Submitted by
naingenieu
-
8 years ago
1
Validate html end tags with single quotes
ECMAScript (JavaScript)
validate html tags should have end tags, closing single, double quotes
Submitted by
Remo
-
8 years ago
1
Create a 3 letter acronym
Python
The meaning of the Regexp is create a 3 letters acronym from a given string. i.e. Ruby on Rails = RoR HyperText Markup Languague = HTML
Submitted by
Juan Mesa <linuxven@gmail.com>
-
8 years ago
1
HbbtV USER AGENT
ECMAScript (JavaScript)
no description available
Submitted by
snovak
-
8 years ago
1
first 2 parts of URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Personas Juridicas
ECMAScript (JavaScript)
Indentifica los tipos de personas jurididacas en las razones sociales (no sera elegante, pero de apoco se aprende)
Submitted by
Eduardo Gómez Catalan
-
8 years ago
1
Skype/IRC log syntax highlighting
Python
Matches date/time/name in several different formats, accounting for brackets, etc Sirenfal: Asdf [11:54] Asdf 11:54 Sirenfal: Asdf [1/1/06 11:54 AM] Sirenfal: asdf...
Submitted by
Sirenfal
-
8 years ago
1
LaTeX command
Python
no description available
Submitted by
Mattia Penati
-
8 years ago
1
Redshift Create Table
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Orchestria
Python
Orchestria, DataMinder, CA DLP
Submitted by
Martin Lawrence
-
8 years ago
1
Password
ECMAScript (JavaScript)
First letter capitalized, well within the first four characters has a number and the minimum length is 8
Submitted by
Caleb Lopez
-
8 years ago
1
email
ECMAScript (JavaScript)
no description available
Submitted by
kaihang
-
8 years ago
1
P-value
Python
grabs p-values
Submitted by
Sternlicht
-
8 years ago
1
emoji
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Regex for a name
ECMAScript (JavaScript)
This javascript reqular Expression will match any name.
Submitted by
noby nirmjal
-
8 years ago
1
Match Any name
ECMAScript (JavaScript)
This regular expression will match name
Submitted by
noby nirmal
-
8 years ago
1
decimal with slash
ECMAScript (JavaScript)
no description available
Submitted by
arctikon
-
8 years ago
1
Video URL
ECMAScript (JavaScript)
Checks weather a url points to a HTML5 supported video.
Submitted by
Pwed
-
8 years ago
1
Realview phone Reg
ECMAScript (JavaScript)
no description available
Submitted by
Payal
-
8 years ago
1
FOR PAN and TAN number checking
ECMAScript (JavaScript)
This will help in validating TAN as well as PAN card number
Submitted by
Keyur
-
8 years ago
1
...
230
231
232
233
234
...
295
Identify lines on an invoice
1
Regular Expression
ECMAScript (JavaScript)
/
^
(?<line_prefix>
.
*
)
\s
{1}
[
\w
//
]
{3}
\s\d
{2}
\s
(?<unit_price>
[
\d
\.
,
]
*
)
\s
(?<discount>
[
\d
\.
,
]
*
)
\s
(?<recharge>
[
\d
\.
,
]
*
)
\s
(?<amount>
[
\d
]
*
)
\s
(?<line_total>
[
\d
\.
,
]
*
)
\s
*
(?<line_sufix>
(?!
Exp
)
.
*
)
$
/
gm
Open regex in editor
Description
it identifies lines in an invoice
Submitted by
Vladox
-
3 years ago