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
Solved:Retrieve Value from JSON /(?<="signature":")[^"]+
I posted in Stackoverflow asking for help in regexp to retrieve value from a JSON response: {"payload":"eyJjaGFsbGVuZ2UiOiIwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAiLCJtaW5pbXVtTW9iaWxlVmVyc2lvbiI6MSwibm9uY2UiOiJPQ1dwdjkzSzRMSCtQM0F...
Submitted by
Pratap Venkatesan
-
9 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
pcre
Trim
Popular trim Regular Expression. Matches whitespace characters at the beginning and end of a string. Check out the usage examples in the test string to see how you can implement it into your own code.
Submitted by
Shawn G.
-
9 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Match Markup
no description available
Submitted by
A
-
9 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
number validator
exclude data with space and "-"
Submitted by
HMK
-
9 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Number invalidator
Including +/-12.3. etc. Excluding MH12, etc.
Submitted by
HMK
-
9 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
YOLO
Substitutes "you only live once" with "YOLO".
Submitted by
anonymous
-
9 years ago
-2
1 upvotes, 3 downvotes (25% like it) (You must be signed in to vote)
pcre
Maintain portion in the middle
no description available
Submitted by
HMK
-
9 years ago
-2
3 upvotes, 5 downvotes (38% like it) (You must be signed in to vote)
pcre
Password filter
a regular expression validate the passowrd. The criteria is that the password should contain atleast one upper case and one lower case letter.
Submitted by
HMK
-
9 years ago
-34
8 upvotes, 42 downvotes (16% like it) (You must be signed in to vote)
pcre
your mom
aasdf
Submitted by
your mom
-
9 years ago
1
6 upvotes, 5 downvotes (55% like it) (You must be signed in to vote)
pcre
Regex Formula for matching 2 letter Prefix URL's
I am trying to write a Regex formula that will match to all URL's with specifically 2 letter prefixes. I have a list of close to 1000 websites, and I need a formula that will collect data from any sites that start with "..".sporttu.com. For example, I want it to match to sites like ca.sporttu and m...
Submitted by
MikeRo
-
9 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
asd
asd
Submitted by
anonymous
-
9 years ago
1
3 upvotes, 2 downvotes (60% like it) (You must be signed in to vote)
pcre
quotes and escapes
no description available
Submitted by
zgorawski
-
9 years ago
2
3 upvotes, 1 downvotes (75% like it) (You must be signed in to vote)
pcre
Creditcard expiry date checker
Checks if a expiry date is: mm/yy. You still have to check if it is a valid expiry date timewise.
Submitted by
Pevawi
-
9 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
pcre
regular expression - with space
no description available
Submitted by
anonymous
-
9 years ago
1
5 upvotes, 4 downvotes (56% like it) (You must be signed in to vote)
pcre
regular expression to avoid white spaces
no description available
Submitted by
anonymous
-
9 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
test url
no description available
Submitted by
anonymous
-
9 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
1
23123
Submitted by
anonymous
-
9 years ago
2
3 upvotes, 1 downvotes (75% like it) (You must be signed in to vote)
pcre
Match subset
no description available
Submitted by
Jason
-
9 years ago
-2
1 upvotes, 3 downvotes (25% like it) (You must be signed in to vote)
pcre
RegEx within tags
no description available
Submitted by
anonymous
-
9 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
pcre
Replace Commas Inside Quotes
Regex to remove commas within quotes. (Common situtaion in .csv files) Eg: data,"some ""embedded"" stuff,commas,inside,quotes",more Replace String would be something like this:...
Submitted by
Judd
-
9 years ago
1
...
457
458
459
460
461
462
463
...
473
stripping annotations from pre-NewsML transcripts
Vote
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
Regular Expression
pcre
/
(
^
|
[
.
\?\!
]
\s
+
)
(
(
[
A
-
Z
]
[
A
-
Za
-
z
\'\-
]
+
)
\.
?
\s
+
)*
(
[
A
-
Z
]
[
A
-
Z
\'\-
]
*
\.
?
)
(
\s
+
[
A
-
Z
]
[
A
-
Z
\'\-
]
*
\.
?
)*
,
?
(
\s
+
(
[
A
-
z
]
[
A
-
z
\'\-
]
+
)
)*
(
\s
*
\(
[^
\(\)
]
*
\)
)?
:
(
\s
*
\(
[^
\(\)
]
*
\)
)*
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Brian D'Astous
- 9 years ago