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 17,100 community submitted regex patterns...
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Website validation
PCRE (PHP <7.3)
Simple website validation for your casual usage
Submitted by
McSwagLord
-
8 years ago
2016-04-20 10:11
(Last modified 4 months ago)
2023-07-25 16:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Search for attributes
Python
A search attribues in a image tag.
Submitted by
Agustín Bouillet
-
8 years ago
2016-04-20 09:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
DevExpress AutoFilter: Keyword
ECMAScript (JavaScript)
Identify if string contains filter keyword
Submitted by
lina
-
8 years ago
2016-04-20 09:04
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
Reg Exp to Remove all special Characters
PCRE (PHP <7.3)
This regular expression removes all special characters including whitespaces which are allowed in windows path name, file name and folder name.
Submitted by
Anirudh
-
8 years ago
2016-04-20 06:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
uuu
Python
uuu
Submitted by
uuu
-
8 years ago
2016-04-20 05:44
4
5 upvotes, 1 downvotes (score 43.6%) (You must be signed in to vote)
replace-last-comma with semicolon
PCRE (PHP <7.3)
replace-last-comma with semicolon similar to http://stackoverflow.com/questions/3829483/how-to-replace-last-occurrence-of-characters-in-a-string-using-javascript
Submitted by
Michael Freidgeim
-
8 years ago
2016-04-20 01:57
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
replace-last-comma with semicolon
PCRE (PHP <7.3)
replace-last-comma with semicolon similar to http://stackoverflow.com/questions/3829483/how-to-replace-last-occurrence-of-characters-in-a-string-using-javascript
Submitted by
Michael Freidgeim
-
8 years ago
2016-04-20 01:27
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
DD-MM-YYYY
ECMAScript (JavaScript)
Any date that as a valid month, a valid date and a year composed of 4 numbers. You can change the '-' caracter to any divider you want.
Submitted by
anonymous
-
8 years ago
2016-04-19 21:31
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
DD-MM-YYYY
ECMAScript (JavaScript)
Any date that as a valid month, a valid date and a year composed of 4 numbers. You can change the '-' caracter to any divider you want.
Submitted by
anonymous
-
8 years ago
2016-04-19 21:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Text to Sentence with URLs
PCRE (PHP <7.3)
Text to sentence is easy, but not when there are URLs or website names inside the text.
Submitted by
khpatel4991
-
8 years ago
2016-04-19 20:39
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Standard first and/or last name
PCRE (PHP <7.3)
This just checks for case insensitive first name, last name, or both.
Submitted by
Josh Garnick
-
8 years ago
2016-04-19 20:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CATEGORY
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-04-19 16:46
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Asterisk channel name
PCRE (PHP <7.3)
Extract channel name from Asterisk channel line
Submitted by
Denis Bondar
-
8 years ago
2016-04-19 15:36
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Find in string template with regular expression
PCRE (PHP <7.3)
In string find regular expression or data type with limiters (start and end or summary count of symbols)
Submitted by
Bohdanov Mikhail
-
8 years ago
2016-04-19 14:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
foo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-04-19 13:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
WINCOR
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-04-19 12:30
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
dates
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-04-19 12:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
dd/mm/yyyy inc. LeapYears
ECMAScript (JavaScript)
1900 - 2015. Useful for Birthdates
Submitted by
ChrisAbra
-
8 years ago
2016-04-19 12:16
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Url parser
PCRE (PHP <7.3)
Parse url with any complexity
Submitted by
Bohdanov Mikhail
-
8 years ago
2016-04-19 12:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Jaba
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-04-19 11:11
1
...
656
657
658
659
660
661
662
...
855
role in organisation
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
[
a
-
zA
-
Z#
]
+
(?!
\w
)
(?!
\D
)
/
Open regex in editor
Description
Loading markdown...
Submitted by
noby nirmal
-
8 years ago
2016-04-02 09:41