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,880 community submitted regex patterns...
0
Searching for bracketed fields and optional parameters
ECMAScript (JavaScript)
This is a quick test of how to add optional identifiers to a fieldname search in REDCap
Submitted by
Andy Martin
-
10 years ago
0
Can't figure out how to split this
Python
I need to group each "lease" on its own and I must be missing something :(
Submitted by
cereal
-
10 years ago
0
Single dollar delimited LaTeX equation
Python
Find single dollar delimited LaTeX equations, for use with e.g. KateX
Submitted by
drewsberry
-
10 years ago
0
phone number (simple validate)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
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
-
9 years ago
0
Regular expression for extracting HTML tag attributes
Java 8
no description available
Submitted by
Amir Arian
-
9 years ago
(Last modified 10 months ago)
0
get youtube vid ID
Python
match #2
Submitted by
parzivail
-
9 years ago
0
Cakephp smarty translation extract
Python
Extracting all {__("content")} from cakephp .tpl files
Submitted by
Yuks
-
9 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
-
9 years ago
0
regex101-8846 on #regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 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
-
9 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
-
9 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
-
9 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
-
9 years ago
0
Almost working sites regex
Python
no description available
Submitted by
anonymous
-
9 years ago
0
Negative lookbehind
Python
no description available
Submitted by
anonymous
-
9 years ago
1
...
104
105
106
107
108
...
294
DB
0
Regular Expression
Java 8
"
^
(?=
.
*
\d
)
(?=
.
*
[
a
-
z
]
)
(?=
.
*
[
A
-
Z
]
)
(?=
.
*
[
~@#^*
\-
_+
\[
{}
\]
:./?
]
)
(?!
.
*
(
.
)
(
\1\1
)
)
[
\w
~@#^*
\-
_+
\[
{}
\]
:./?!
]
{8,64}
$
"
gm
Open regex in editor
Description
DB
Submitted by
DB
-
2 years ago