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
1
4 upvotes, 3 downvotes (57% like it) (You must be signed in to vote)
pcre
Function with n parameters in C-like syntax.
no description available
Submitted by
elkamarado@gmail.com
-
8 years ago
-3
1 upvotes, 4 downvotes (20% like it) (You must be signed in to vote)
pcre
ipv4 - short version
no description available
Submitted by
gromozeka
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Node (common.js) require regex
Uses a single string to match any node require variables
Submitted by
amird and andyt
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Name file Val
no description available
Submitted by
anonymous
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
A regex that tries to replace every instance in your site
For better exception capturing
Submitted by
anonymous
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Key/Value pairs with multiline support
Key/Value pairs with multiline support
Submitted by
Alexander Krutov
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
sql perf log
13 fields, 12 comma's from right (all left hand ones need to be ignored as they're part of the sql statements)
Submitted by
Sandra
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
new
sdsada
Submitted by
anonymous
-
8 years ago
1
3 upvotes, 2 downvotes (60% like it) (You must be signed in to vote)
pcre
Extract times from a string
I use this to extract and later calculate the difference between two times.
Submitted by
Ernie C.
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
URL validation with http/https
URL validation with http/https
Submitted by
Gunjan
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
parse mysqldump INSERT statement field values (handles unescaping)
This will parse the fields portion of a mysqldump lines such as: INSERT INTO users VALUES (42,'Bob',12.34,NULL,'It\'s ok!');
Submitted by
Steve Shreeve
-
8 years ago
6
18 upvotes, 12 downvotes (60% like it) (You must be signed in to vote)
pcre
Username:Password
Regex For finding username:password
Submitted by
Ghost
-
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
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
freedns.afraid.org/dynamic/
if you use the service you may want to know a state of some responses
Submitted by
KUbo_0
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
BinarSkugga's Language Variable Parser
Detect and cut lines containing variables.
Submitted by
BinarSkugga
-
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
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Test CCPR message
no description available
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
afadfad
no description available
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Replace second grouping with first
Identifies two groups, each group using a regex, then replaces group 2 with group 1.
Submitted by
Stuart Shannon
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Extract PORT from URL
Extract port from URL
Submitted by
anonymous
-
8 years ago
1
...
518
519
520
521
522
523
524
...
571
Match email addresses and get the mail provider as a group
Vote
-3
1 upvotes, 4 downvotes (20% like it) (You must be signed in to vote)
Regular Expression
pcre
/
(
[
a
-
z0
-
9
\.\-\_
]
{1,}
)
@
(
[
a
-
z0
-
9
\.\-\_
]
{3,}
)
/
i
Open regex in editor
Description
Loading markdown...
Submitted by
Ole
- 8 years ago