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,000 community submitted regex patterns...
1
lisp
PCRE (PHP <7.3)
match function names in defun constructs
Submitted by
anonymous
-
10 years ago
7
simple common lisp tokenizer
ECMAScript (JavaScript)
main symbols and comments are supported
Submitted by
d4rw1n1s7@gmail.com
-
10 years ago
5
parsing CSV file
PCRE (PHP <7.3)
It correctly handles simple values, empty values, and quoted values with commas inside.
Submitted by
Viktor Lova aka nsinreal
-
10 years ago
1
PCI Device
Python
no description available
Submitted by
anonymous
-
10 years ago
0
Number with two max possible decimals
ECMAScript (JavaScript)
For float type inputs.
Submitted by
Juanma - https://github.com/juanmaa1414
-
10 years ago
1
Uppercase words
ECMAScript (JavaScript)
no description available
Submitted by
MaaxZoom
-
10 years ago
1
CamelCase parsing helper
Python
Helper regex for parsing CamelCase identifiers. Captures the first word of the identifier in group 1 and the rest in group 2. Iterate to consume the whole name. Works on fooBar, FooBar, and FOOBar.
Submitted by
Kevin
-
10 years ago
1
Nome articolo
PCRE (PHP <7.3)
Matcha il nome di un articolo (primo carattere, almeno 2 numeri=
Submitted by
DD
-
10 years ago
1
image.ext check
PCRE (PHP <7.3)
regexp for match images extension (png,jpg,jpeg,gif)
Submitted by
dummy
-
10 years ago
1
matching value of html src attribute
PCRE (PHP <7.3)
matching value of html src attribute
Submitted by
junkuos
-
10 years ago
1
Log entry Regex
PCRE (PHP <7.3)
no description available
Submitted by
KP
-
10 years ago
0
Anyone can help to generate the regular expression for the desc ?
ECMAScript (JavaScript)
Hi All, We got a database column which saving the table definition as patten string below. How can I extract the column & libelle information out of the string by using regular expression ? Thanks a lot ! c:{k:16:PERIODDEFINITION;c:{k:8:REVENUE1;c:{k:6:COLUMN;s:8:REVENUE1;k:7:LIBELLE;s:23:Revenue ...
Submitted by
anonymous
-
10 years ago
1
daily 204
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
webui
PCRE (PHP <7.3)
webui test
Submitted by
Stelsy
-
10 years ago
1
How to document a Regex? Example 2
PCRE (PHP <7.3)
How to document a Regex? Example 2: added documentation using (?#)
Submitted by
Thomas
-
10 years ago
1
How to document a regex? Example 1
PCRE (PHP <7.3)
How to document a regex? Example 1: undocumented Regex which works with my test string
Submitted by
Thomas
-
10 years ago
1
Credit Card finder
PCRE (PHP <7.3)
Captures credit card looking sequence of digits Luhn validation remains required as a complement.
Submitted by
OP
-
10 years ago
0
Multiple matches in php but only one in javascript
ECMAScript (JavaScript)
I have used this regexp succesfully in php with flags gmU and have multiple matches. In js there is no U flag and this only returns last match. Is there anything I can do to make this work similarly in javascript?
Submitted by
yorogs
-
10 years ago
1
cross platform file extension in node/io.js
ECMAScript (JavaScript)
This regex will match the file extension on any platform in node.js or io.js.
Submitted by
Russell Dempsey
-
10 years ago
5
URL
PCRE (PHP <7.3)
URL Description from Dr. M. G. @ Brookes
Submitted by
anonymous
-
10 years ago
1
...
857
858
859
860
861
...
900
Community Library Entry
0
Regular Expression
Python
r"
ticky:
(
INFO
|
ERROR
)
(
:
[
\w\W
$
]
+
?
)
(
\(
[
\w
]
*
\)
)
"
gm
Open regex in editor
Description
Extract data of syslog.log format
Submitted by
anonymous
-
2 years ago