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,540 community submitted regex patterns...
0
DOI matcher
Python
Matches any valid DOI
Submitted by
jpowell
-
10 years ago
0
omit data between single quotes
ECMAScript (JavaScript)
hi, i've been trying for hours to do this, i need to omit all text between single quotes / double quotes can someone help with this
Submitted by
avi.m
-
10 years ago
0
Find CSS Class with ability to replace
ECMAScript (JavaScript)
Changing class names is hard with a large codebase written in multiple languages. Classes can appear in several constructs. This tries to match the various ways a class can be represented in HTML. Plug the RegEx in to Sublime Text 2 using "Find in Files...". When replacing in ST2, change $1 to \1.
Submitted by
Matthew (@sirlancelot)
-
10 years ago
0
first num after rgb
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
1
Python
no description available
Submitted by
anonymous
-
10 years ago
0
get youtube vid ID
Python
match #2
Submitted by
parzivail
-
10 years ago
0
Cakephp smarty translation extract
Python
Extracting all {__("content")} from cakephp .tpl files
Submitted by
Yuks
-
10 years ago
0
Group and split string between pipe delimiters
ECMAScript (JavaScript)
Please help! This is probably a very simple task for regex experts. I want to extract and group the fields before or after each pipe character |. 1234|text1|text2|text3|text4|text5 Expected result would be separate groups e.g.: 1234...
Submitted by
Grateful or dead
-
10 years ago
0
regex101-8846 on #regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Parse Portuguese Frequency dictionary
Python
The following is a dictionary of 4991 portuguese words ordered by frequency. I need the file to have just number of line and word like the following 11 lines of example. So I need to delete all lines that don't start with a number and delete everything after number and word. Also delete all lines wi...
Submitted by
alfacent
-
10 years ago
0
deviantart scrape search results
Python
Scrape DeviantArt's search page HTMl to extract the category, the id, the user and the image url of each post.
Submitted by
nelieru
-
10 years ago
0
CNPJ - brazilian company identifier number
ECMAScript (JavaScript)
Matches CNPJ, which is an identification number issued to Brazilian companies.
Submitted by
Uilian Souza
-
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
0
Almost working sites regex
Python
no description available
Submitted by
anonymous
-
10 years ago
0
Negative lookbehind
Python
no description available
Submitted by
anonymous
-
10 years ago
0
Detecta abreviaturas de tipo de personalidades juridicas
ECMAScript (JavaScript)
Detecta abreviaturas de tipo de personalidades juridicas, que habitualmente se encuentran en la razón social de una empresa, en el caso de Chile es obligatorio la razon social especifique que tipo de personalidad juridica es.
Submitted by
Edurdo Gómez
-
10 years ago
0
Ultimate url regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
does this work dms?
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Single xml tag close to separated
ECMAScript (JavaScript)
the tag must be a minumum of 3 characters long so we don't catch any BR, HR, etc.
Submitted by
Agent Codesmith
-
9 years ago
0
Finnsih date with the "dd mmmm yyyy" format
Python
Parse a Finnish date with de "dd. mmmm yyyy" or "dd.mm.yyyy" format.
Submitted by
Tantale
-
9 years ago
1
...
103
104
105
106
107
...
277
Community Library Entry
0
Regular Expression
Python
r"
^\s
{7}
(
[
-A
]
?
\d
+
)
\s
+
(
(
.
|
\n
)*
?
)
\n^\s
{24}
(
[
A
-
Z
]
{0,2}
\d
{3}
(
\.
\d
+
)?
(
\s
(
\w
+
)
)?
)
"
gm
Open regex in editor
Description
Matches entries in a library catalogue.
Submitted by
anonymous
-
a year ago