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
3
8 upvotes, 5 downvotes (62% like it) (You must be signed in to vote)
pcre
everything that doesn't match .gitignore at the end
must match: selection/nl/example.xml selection/example.xml selection/blabla.txt selection/es/ ...
Submitted by
anonymous
-
9 years ago
3
10 upvotes, 7 downvotes (59% like it) (You must be signed in to vote)
pcre
UK Postcode Checker
This is an improvement of the very good tH9mQ1/1. It did not pickup on the first two postcodes found here: //http://en.wikipedia.org/wiki/Postcodes_in_the_United_Kingdom
Submitted by
Flexander
-
9 years ago
3
7 upvotes, 4 downvotes (64% like it) (You must be signed in to vote)
pcre
youtube id match
youtube id 17 matches
Submitted by
Wiliam Castilhos, Ramon Barros
-
9 years ago
3
7 upvotes, 4 downvotes (64% like it) (You must be signed in to vote)
pcre
ISO 8601 date
Validates a date with ISO 8601 format. Source: http://www.pelagodesign.com/blog/2009/05/20/iso-8601-date-validation-that-doesnt-suck/
Submitted by
anonymous
-
9 years ago
3
4 upvotes, 1 downvotes (80% like it) (You must be signed in to vote)
pcre
Alternative Capture Country Codes
no description available
Submitted by
Branden
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
URL with matching categories
Finds the protocol, subdomain, ((domain, extension)/ipaddress), port, filepath (split in path and filename), the route and the query string.
Submitted by
fps
-
8 years ago
3
7 upvotes, 4 downvotes (64% like it) (You must be signed in to vote)
python
Twitch URL Regex
Can grab all kinds of valid twitch URLs.
Submitted by
Mio
-
8 years ago
3
6 upvotes, 3 downvotes (67% like it) (You must be signed in to vote)
pcre
^.*(\/Summary\/).*(chelaxe\.ru).*$
no description available
Submitted by
anonymous
-
8 years ago
3
4 upvotes, 1 downvotes (80% like it) (You must be signed in to vote)
pcre
How do I write a Regex to inspect Cisco Interfaces
I am asking for help in writing a regular expression to shorten this expression. I need the string below to search every interface within the range of 1 -24 to validate the configuration. If one interface does not have the required configuration then the expression fails. interface GigabitEtherne...
Submitted by
Pirates
-
8 years ago
3
5 upvotes, 2 downvotes (71% like it) (You must be signed in to vote)
pcre
Capture only top-level (root) domain in URL
no description available
Submitted by
guyfawkes
-
8 years ago
3
7 upvotes, 4 downvotes (64% like it) (You must be signed in to vote)
pcre
white space before punctuations, outside script and code tags
white space before punctuations, outside script and code tags
Submitted by
ced
-
8 years ago
3
33 upvotes, 30 downvotes (52% like it) (You must be signed in to vote)
python
phone
matches: + example: +52 33 3884 7720 +1 770 343 5788
Submitted by
miqui
-
8 years ago
3
15 upvotes, 12 downvotes (56% like it) (You must be signed in to vote)
pcre
split sentence regex
no description available
Submitted by
anonymous
-
8 years ago
3
4 upvotes, 1 downvotes (80% like it) (You must be signed in to vote)
pcre
images url match in text
no description available
Submitted by
Redfern.89
-
8 years ago
3
4 upvotes, 1 downvotes (80% like it) (You must be signed in to vote)
python
prices in nis
no description available
Submitted by
molaxx
-
8 years ago
3
4 upvotes, 1 downvotes (80% like it) (You must be signed in to vote)
pcre
Div content
no description available
Submitted by
mohammadsaleh
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Cisco ASA
no description available
Submitted by
anonymous
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
@font-face stuff
bits and pieces of reusable replacements in CSS @font-face rules
Submitted by
mroncetwice
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Roman numeral detector
Detects valid Roman numerals (up to 3999), and splits into 4 capture groups: thousands, hundreds, tens, and units.
Submitted by
Terence Linnell
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
sql: insert into
insert into (a,b,c) values (1,2.3,"test");
Submitted by
suat erenler - sua.gen.tr
-
8 years ago
1
...
655
656
657
658
659
660
661
...
669
basic html tags
Vote
-4
1 upvotes, 5 downvotes (17% like it) (You must be signed in to vote)
Regular Expression
pcre
/
(?:
<
(
[
a
-
z
]
+
)
.
*
?
>
)
|
(?:
<
\/
(
[
a
-
z
]
+
)
\s
*
?
>
)
/
gi
Open regex in editor
Description
Loading markdown...
Submitted by
nhaizere
- 8 years ago