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
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
first word plus string
first word and resulting string
Submitted by
anonymous
-
9 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
pcre
html text grep
no description available
Submitted by
Cyrbil
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
dpn_glossary HTML termparser
Regex of the TYPO3 Extension dpn_glossary. It ignores the children of the fetched content. http://bit.ly/dpn_glossary
Submitted by
Daniel Dorndorf
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Match all attributes/values of html document
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
url GET parameters
no description available
Submitted by
anonymous
-
9 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
pcre
Parse JSON key value pair
no description available
Submitted by
Kostas Trichas
-
9 years ago
0
8 upvotes, 8 downvotes (50% like it) (You must be signed in to vote)
pcre
Match all html tags
no description available
Submitted by
Kostas Trichas
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
asdfs
sfsdadf
Submitted by
poter
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
python
Single dollar delimited LaTeX equation
Find single dollar delimited LaTeX equations, for use with e.g. KateX
Submitted by
drewsberry
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
phone number (simple validate)
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
Challenge: Create regular expression that matches the following urls
Note the 2 lines separated urls. These should NOT match
Submitted by
kostas trichas
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Share?
Test
Submitted by
test
-
9 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
pcre
regex test
testing the string abc xyx 12 13 a a b
Submitted by
Alien Coders
-
9 years ago
0
11 upvotes, 11 downvotes (50% like it) (You must be signed in to vote)
pcre
number with or without thousands separator(.) and decimal part(,)
number with or without thousands separator(.) and decimal part(,) ES: 100000; 1.646; 13323,33; 3.444.434,44
Submitted by
Basten
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
webongo
webongo test
Submitted by
webongo
-
9 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
pcre
Hostname-Match not found
I'm trying to match a hostname input with the following properties: a-z A-Z 0-9 : - are allowed ; doesnot start or end with - ; "." can be used to separate different labels of the hostname. But gives no match for this regex: ^(a-zA-Z0-9|(?<!-)\.(?![-.]))[a-zA-Z0-9]+)?)$...
Submitted by
Revathy
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
python
DOI matcher
Matches any valid DOI
Submitted by
jpowell
-
9 years ago
0
3 upvotes, 3 downvotes (50% like it) (You must be signed in to vote)
pcre
Page Hangs in Chrome/Shows TIMEOUT on regex101.com
I have a regex like this: /^(A-Za-z0-9)([\.\_]?[A-Za-z0-9-]+)(\.[A-Za-z]{2,6})+(\/A-Za-z+)*$/ and I want to test the string like: webmail.google.com.qqqqqqqqqqqqqqqqqqq....... But it shows TIMEOUT. I know that string is invalid for given regex. But I do this because when I input this string and ma...
Submitted by
sam
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
search h1 tag html
(.*?) example: Your best title
Submitted by
otharwa
-
9 years ago
0
5 upvotes, 5 downvotes (50% like it) (You must be signed in to vote)
pcre
Unicode alpha-numeric regex
Tests for all unicode language characters and number. Excludes any sentence joining characters etc.
Submitted by
Jamie
-
9 years ago
1
...
786
787
788
789
790
791
792
...
839
Match links in html
Vote
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
Regular Expression
pcre
/
<
\s
*
a
(
\s
+
.
*
?
>
|
>
)
.
*
?
<
\s
*
\/
\s
*
a
\s
*
>
/
ig
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 8 years ago