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
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Extract substring from a string
For use with sed you need to escape the parentheses \(
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Floats
Floats including integers that end with "f" Version 2: value will exclude "f"
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Floats
Floats including integers that end with "f"
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Integers
Integers with no leading zeros ie. 0234 or -0486 is invalid
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
WaitForKey
no description available
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
oid test
test if a string represents a valid oid
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
tilak punctuation regex
no description available
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
CAN2-v4
no description available
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
CAN1-v2
no description available
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
CAN2
no description available
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
CAN1
no description available
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
JSON tokenizer
JSON TOKENIZER Each token class is captured in its own group : Group 1 = [ Group 2 =] Group 3 = { Group 4 = }...
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Consecutive images
no description available
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Clear
no description available
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Negative lookahead to excluded non-Windows Office and a couple others
no description available
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
CEP mask
Brazilian CEP mask
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Fox EMEA PDP's
no description available
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
JIRA Tickets
no description available
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Revert
no description available
Submitted by
anonymous
-
3 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
address
no description available
Submitted by
anonymous
-
3 years ago
1
...
76
77
78
79
80
81
82
...
483
SE II Lab 3
Vote
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
Regular Expression
pcre
/
(?<date>
^\d
{4}
-
\d
{2}
\-
\d
{2}
\s
)
(?<time>
\d
{2}
\:
\d
{2}
\:
\d
{2}
\s
)
(?<time_taken>
\d
+
\s
)
(?<c_ip>
\d
+
\.
\d
+
\.
\d
+
\.
\d
+
\s
)
(?<sc_status>
\d
+
\s
)
(?<s_action>
\w
+
\s
)
(?<sc_bytes>
\d
+
\s
)
(?<cs_bytes>
\d
+
\s
)
(?<cs_method>
(
(?i)
POST
|
(?i)
GET
|
(?i)
UNKNOWN
)
\s
)
(?<cs_uri_scheme>
(
(
http
\s
)
|
(
[
\-
\s
0
\/
\b
]
+
)
)
[
a
-
zA
-
Z0
-
9
\-\+\_
]
+
.
[
a
-
zA
-
Z0
-
9
\-\+\=\_
]
+
.
[
a
-
zA
-
Z0
-
9
\-\*\+\_
]
*
[
\.
a
-
zA
-
Z0
-
9
]
*
\s
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 3 years ago