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
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
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
first regex
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
Domain Name .CZ - only 2th level format
Valid only for something.cz, some-thing.cz, 2245exampl.cz ... Not-valid for -some.cz, here.com.cz ...
Submitted by
Pavel Ondřej
-
9 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
pcre
GlobalRange-phone-fax
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
e164_basic
e164_basic
Submitted by
anonymous
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Validate date
Validate date in format dd/mm/yyyy dd.mm.yyyy dd-mm-yyyy or dd/mm/yy dd.mm.yy dd-mm-yy GetFrom -> http://stackoverflow.com/questions/15491894/regex-to-validate-date-format-dd-mm-yyyy
Submitted by
Dilakv
-
9 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
python
test
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
asf
asfd
Submitted by
asdf
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
rwe
rwerw
Submitted by
rwerw
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
None
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
Regex Pattern for Mexico Phone Number using Groups
Can anyone help me format the following regex for Mexico Phone Numbers. I have two issues, the Regular Expression builder is telling me my Grouping is invalid and also I am having trouble with the 52 pattern. I want it to allow any two digits such as [0-9]{2} example: 52-555-786-2300 (\\+?1[\\s\...
Submitted by
kingpoop
-
9 years ago
0
4 upvotes, 4 downvotes (50% like it) (You must be signed in to vote)
pcre
Password strength check
Checks password for following attributes: At least 2 uppercase letters At least 2 lowercase letters At least 2 numbers At least 2 non-alphanumeric characters ...
Submitted by
Visigral
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
SickRage
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
omit data between single quotes
hi, i've been trying for hours to do this, i need to omit all text between single quotes / double quotes can someone help with this
Submitted by
avi.m
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
test123
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
soap envelope regexp
no description available
Submitted by
anonymous
-
9 years ago
1
...
786
787
788
789
790
791
792
...
838
XenForo Add version Number to Footer
Vote
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
Regular Expression
pcre
/
\h
*
<xen:if
is="{
\$
debugMode}">
\h
*
<xen:if
hascontent="true">
\h
*
<dl
class="pairsInline
debugInfo"
.
*
?
>
(
\h
*
)
<xen:contentcheck>
/
Open regex in editor
Description
Loading markdown...
Submitted by
rugk
- 8 years ago