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...
0
UUID regex
PCRE (PHP <7.3)
no description available
Submitted by
santisaez
-
10 years ago
0
reference
PCRE (PHP <7.3)
no description available
Submitted by
karthikeyan
-
10 years ago
0
sms csv (sqlite exported) replace newlines with \n in body
PCRE (PHP <7.3)
no description available
Submitted by
flash_us
-
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
RegexMatchingAtLeast2SpecialCharacters
PCRE (PHP <7.3)
The special characters are ~!@#$%^&*()
Submitted by
anonymous
-
10 years ago
0
(sub)domain match
PCRE (PHP <7.3)
1.Tree of subdivisions may have up to 127 levels. 2.Each label may contain up to 63 characters. 3.The full domain name may not exceed the length of 253 characters in its textual representation. rfc1035 rfc1123 rfc2181
Submitted by
Nick Chkhikvishvili
-
10 years ago
0
Match youtube id
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Arabic example
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
replace &ldquo with doublequotes
PCRE (PHP <7.3)
replace tag with doublequotes regex
Submitted by
anonymous
-
10 years ago
0
Jeny
PCRE (PHP <7.3)
132
Submitted by
Renderlife
-
10 years ago
0
hhh
PCRE (PHP <7.3)
Fghh
Submitted by
ggj
-
10 years ago
0
aliexpres
PCRE (PHP <7.3)
test z wyrażeniem regularnym
Submitted by
diox
-
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
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
-
10 years ago
0
Match all {{}} string
PCRE (PHP <7.3)
Easily match the {{}} string for web developper MVC.
Submitted by
Yannick Elusue
-
10 years ago
0
TCP/UDP port number
PCRE (PHP <7.3)
validates TCP/UDP port number (1..65535)
Submitted by
sanchox
-
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
...
25
26
27
28
29
...
900
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
\d
{2}
\.
\d
{3}
\.
\d
{3}
\/
\d
{4}
-
\d
{2}
/
g
Open regex in editor
Description
Matches CNPJ, which is an identification number issued to Brazilian companies.
Submitted by
Uilian Souza
-
10 years ago