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,680 community submitted regex patterns...
0
test
Python
no description available
Submitted by
anonymous
-
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
rr
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Telephone Number Simple
ECMAScript (JavaScript)
no description available
Submitted by
Nemesarial
-
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
-
9 years ago
0
regex101-4269
ECMAScript (JavaScript)
to share with IRC helpers
Submitted by
Bruno
-
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
HTML5 time entry regex
ECMAScript (JavaScript)
This regex can be used within a HTML5 input tag to ensure a time has been entered correctly such as 23:40 or 11:40 PM.
Submitted by
Scott Mebberson
-
9 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
-
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
Number with two max possible decimals
ECMAScript (JavaScript)
For float type inputs.
Submitted by
Juanma - https://github.com/juanmaa1414
-
9 years ago
0
Almost working sites regex
Python
no description available
Submitted by
anonymous
-
9 years ago
1
...
7
8
9
10
11
...
284
phone regex
1
Regular Expression
ECMAScript (JavaScript)
/
\s
?
\+
?
\d
{1,3}
(
\(
|
-
|
\s
+
)?
\d
+
(
\)
|
-
|
\s
+
)?
(
\d
|
-
|
\s
)+
\s
?
/
Open regex in editor
Description
phone regex
Submitted by
antiai
-
2 years ago