Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
pcre
easy Email Detection
easy Email Detection
Submitted by
Max Mustermann
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
python
how I retrieve the domain without www or other cruft
no description available
Submitted by
bronsen
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
City and state validation
Validation when city and state are like in format city, state
Submitted by
Adu
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
x
x
Submitted by
x
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Matching values between square brackets
no description available
Submitted by
Marius Schulz
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Date Validator Regular Expression
Perfect Date validator from 1900-01-01 to 2013-12-31, all with leap years and perfect dates.
Submitted by
Punit Pal
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
python
Fix Spanish Quote Marks
Adds a ¿, for ¡ replace the last ? for !
Submitted by
paconaranjo
-
9 years ago
0
6 upvotes, 6 downvotes (50% like it) (You must be signed in to vote)
pcre
Matches when the string does not contain an exact word
no description available
Submitted by
anonymous
-
9 years ago
0
4 upvotes, 4 downvotes (50% like it) (You must be signed in to vote)
python
Find email address in a string.
no description available
Submitted by
anonymous
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
google result li item
Trying to output http://www.fs.usda.gov/malheur or thereabouts
Submitted by
ape
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Removes comments from css files
This regexp removes comments from css (text/css) files (multiline)
Submitted by
Ray (alrays@yandex.ru)
-
9 years ago
0
41 upvotes, 41 downvotes (50% like it) (You must be signed in to vote)
pcre
URL matching
Complete url matching with storage of various parameters
Submitted by
hjpotter92
-
9 years ago
0
3 upvotes, 3 downvotes (50% like it) (You must be signed in to vote)
pcre
Replace one or more 'br' tags with a single space.
no description available
Submitted by
James Furey
-
9 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
python
Remove litteral \n
This regex remove \n like litteral string not a newline
Submitted by
Nkio
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
split on dollar sign
no description available
Submitted by
anonymous
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
Bad comma puctuation
Just an example for a guy wanting to check space before comma
Submitted by
anonymous
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Find all list items
I need to find the fastest expression to get all the list items inside a an put the items inside an array. input: xxx ...
Submitted by
Sonny
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Primjer regexa koji je potreban u jednom dijelu našeg sitea
Ovo je regex (regular expression - regularni izraz) koji parsira i usput validira broj naÅ¡eg predraÄuna.
Submitted by
Goran
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
match text between two <br/> tags.
no description available
Submitted by
gordie
-
9 years ago
0
3 upvotes, 3 downvotes (50% like it) (You must be signed in to vote)
javascript
filename split
Splitting file names
Submitted by
Miloš Ratković
-
9 years ago
1
...
786
787
788
789
790
791
792
...
840
Clojure
Vote
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
Regular Expression
python
r"
(?:
^
|
\s
)
\w
"
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 8 years ago