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)
python
PLDI regex 2
for pldi answer
Submitted by
PlaceReporter99
-
9 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
PLDI regex 1
For pldi answer
Submitted by
PlaceReporter99
-
9 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
Dyno warning regex
Used to separate things in dyno warning
Submitted by
anonymous
-
9 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
UFUNCTION parser
Breaks any UFUNCTION into parts
Submitted by
anonymous
-
10 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
decimal number
decimal number validation pattern 1.** integer_ 2.** floating point_
Submitted by
martins
-
10 days ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre2
url matcher 2.0
now matches any protocol, as well as username, password, query and fragment. query is not split
Submitted by
Mitsunee
-
10 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Country Codes (Alpha 2 and Alpha 3)
Country Code Classifier ISO 3166-1 alpha-2 codes are two-letter country codes defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest. They ar...
Submitted by
loganmcampbell
-
11 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
Hesla ISJ
ISJ
Submitted by
anonymous
-
11 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
100-4300
match 100, 200, 300 upto 4300
Submitted by
anonymous
-
11 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
webforms detection
Rule to identify web form collections
Submitted by
Pandurang Patil
-
12 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
async calls in foreach
async calls in foreach loop, search by await keyword found in foreach
Submitted by
mmateeva
-
13 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
0及最多6位正负整数
1、匹配6位以内正负整数 2、可以匹配0 有效例子 0 21...
Submitted by
anonymous
-
13 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Firstname Lastname (Western alphabet)
A regular expression to validate Firstname Lastname, supports multiple names, de, le, O',L',l',d', prefixes.
Submitted by
remedio
-
13 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
rust
Unicode Hexadecimal
Find hexadecimal numbers using Extended Unicode Support.
Submitted by
anonymous
-
13 days ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
javascript
Matching un-wrapped HTML & CSS code blocks in Markdown
PATTERNS RegEx Flavour ECMAScript (JavaScript, ActionScript, TypeScript, etc.) ...
Submitted by
anonymous
-
13 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Clean up Scribd quote
Scribd is a great resource for reading more than you would be able to otherwise, but the app sucks. And in particular, it sucks if you want to copy your highlights to another app, because it automatically adds the book, author, and a link to Scribd with every copy. This regex simple eliminates all ...
Submitted by
derBingle
-
13 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Sonepar - BW5 Service Mapping
Common Mapping
Submitted by
anonymous
-
13 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
MARKDOWN title reader
matches the titles from a markdown starting with i.e. Campaign uploader {#15mins-campaign-uploader}
Submitted by
Deepak O
-
14 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Special Chars
Exclude special chars with exceptions
Submitted by
anonymous
-
15 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
java
Riedler's 2nd URL regex
why did I make this?
Submitted by
Riedler
-
16 days ago
1
2
3
4
5
6
...
852
Odoo parsing for Loki
Vote
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
Regular Expression
pcre2
/
^
(?P<date>
[^
]
+
)
(?P<time>
[^
]
+
)
(?P<process_id>
[^
]
+
)
(?P<level>
[^
]
+
)
(?P<db>
[^
]
+
)
(?P<app>
[^
:
]
+
)
:
(?P<message>
(?P<ip>
(?:
[
0
-
9
]
{1,3}
\.
){3}
[
0
-
9
]
{1,3}
)
(?:
-
-
\[
[
0
-
9
]
{2}
\/
[
A
-
Za
-
z
]
{3}
\/
[
0
-
9
]
{4}
\s
[
0
-
9
]
+
:
[
0
-
9
]
+
:
[
0
-
9
]
+
\]
"
)
(?P<http>
(?:
[
A
-
Z
]
+
)
)
(?P<path>
(?:
[
\/
a
-
z0
-
9
\.
_
]
*
)
)
.
*
"
(?P<response>
(?:
\d
{3}
)
)
(?:
-
)
(?P<http_size>
\d
+
)
(?P<http_time_total>
\d
+
\.
\d
+
)
(?P<http_time_>
\d
+
\.
\d
+
)
|
.
*
)
$
/
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
coopdevs
- 2 months ago