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
Community Patterns
Search among 11,720 community submitted regex patterns...
1
Find any version of US country name in address string
PCRE (PHP <7.3)
Given a string that represents a location in the USA, find any version of the USA country name as one would expect at the end of that string. Does not match on if it finds it elsewhere such as a freeway name or the "us" in the city of "Russellville".
Submitted by
Bobby
-
9 years ago
0
Tele
PCRE (PHP <7.3)
no description available
Submitted by
Alpha
-
9 years ago
1
Regex to replace alert
PCRE (PHP <7.3)
foo
Submitted by
anonymous
-
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
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
1
Achar dominios
PCRE (PHP <7.3)
no description available
Submitted by
BrineDev
-
9 years ago
1
win path
PCRE (PHP <7.3)
no description available
Submitted by
Dragan
-
9 years ago
2
Matches first word
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
aliexpres
PCRE (PHP <7.3)
test z wyrażeniem regularnym
Submitted by
diox
-
9 years ago
0
hhh
PCRE (PHP <7.3)
Fghh
Submitted by
ggj
-
9 years ago
0
Jeny
PCRE (PHP <7.3)
132
Submitted by
Renderlife
-
9 years ago
1
hashtag and user tag regex
PCRE (PHP <7.3)
This regular expression can be used to find tags and hashtags in a string. It assumes that a username can contain both underscores and points (.) and that hashtags can only contain letters
Submitted by
Luca Simonetti
-
9 years ago
0
replace &ldquo with doublequotes
PCRE (PHP <7.3)
replace tag with doublequotes regex
Submitted by
anonymous
-
9 years ago
1
Numer telefonu
PCRE (PHP <7.3)
no description available
Submitted by
p.borecki
-
9 years ago
1
Numer telefonu
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Arabic example
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
aaa
PCRE (PHP <7.3)
vvv
Submitted by
anonymous
-
9 years ago
1
check phone number(Taiwan)
Python
If pattern match, then this number probably is a phone number in Taiwan.
Submitted by
Assalin
-
9 years ago
1
overlapping regex, small test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
553
554
555
556
557
...
586
Match Ice Faces Empty RTF
1
Regular Expression
PCRE (PHP <7.3)
/
(
<p> <
\/
p>
(
\s
?
)+
)+
/
Open regex in editor
Description
Will match any empty or containing whitespace only Ice Faces Rich Text Input element.
Submitted by
Sam Blumire
-
10 years ago