Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 11,680 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Css Splitter
PCRE (PHP <7.3)
Splits the css code into two blocks. (comments|selector block)
Submitted by
@Silent_Coder
-
9 years ago
2015-02-13 08:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
BIGipServerPool Parsing
PCRE (PHP <7.3)
Parse for the BIGipServerPool set by F5 load balancers
Submitted by
Nathan Baker
-
9 years ago
2015-02-11 14:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Käyttäjätunnus
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2015-02-11 13:24
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
SIP Address Validator
PCRE (PHP <7.3)
Validates SIP(Session Initiation Protocol) Addresses
Submitted by
Tarun Telang
-
9 years ago
2015-02-11 12:10
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
paren strip test
PCRE (PHP <7.3)
paren strip test
Submitted by
marie bacuno
-
9 years ago
2015-02-11 01:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
2015-02-11 00:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Tele
PCRE (PHP <7.3)
no description available
Submitted by
Alpha
-
9 years ago
2015-02-10 10:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regex to replace alert
PCRE (PHP <7.3)
foo
Submitted by
anonymous
-
9 years ago
2015-02-10 05:08
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
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
2015-02-10 02:38
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
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
2015-02-09 18:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Achar dominios
PCRE (PHP <7.3)
no description available
Submitted by
BrineDev
-
9 years ago
2015-02-09 17:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
win path
PCRE (PHP <7.3)
no description available
Submitted by
Dragan
-
9 years ago
2015-02-09 11:14
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Matches first word
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2015-02-08 04:55
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
aliexpres
PCRE (PHP <7.3)
test z wyrażeniem regularnym
Submitted by
diox
-
9 years ago
2015-02-07 16:38
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
hhh
PCRE (PHP <7.3)
Fghh
Submitted by
ggj
-
9 years ago
2015-02-07 11:41
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Jeny
PCRE (PHP <7.3)
132
Submitted by
Renderlife
-
9 years ago
2015-02-07 07:04
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
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
2015-02-06 14:34
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
replace &ldquo with doublequotes
PCRE (PHP <7.3)
replace tag with doublequotes regex
Submitted by
anonymous
-
9 years ago
2015-02-05 12:06
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Numer telefonu
PCRE (PHP <7.3)
no description available
Submitted by
p.borecki
-
9 years ago
2015-02-03 13:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Numer telefonu
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2015-02-03 13:49
1
...
550
551
552
553
554
555
556
...
584
aaa
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
\p{L}\p{M}\s
._-
]
+
?
)
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
9 years ago
2015-02-03 07:59