Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,020 community submitted regex patterns...
0
Phone number
PCRE2 (PHP >=7.3)
Improvement of the Phone Number regex pattern created by 'elishas@syncode.io'
Submitted by
anonymous
-
3 years ago
0
Notepad++_command_IDs
PCRE2 (PHP >=7.3)
I'm trying to arrange and manipulate Notepad++ icons and make some scripts, so, after generating the list from the MenuIcons plugin, I used this RegEx to make a list with the container (folder/subfolder, the ones that have a -1 command ID) and indent all the items it contains (I'm using Python for m...
Submitted by
Me, myself and I (with the help from the Menu Icons plugin)
-
3 years ago
0
Php
PCRE2 (PHP >=7.3)
Php
Submitted by
Nickname
-
3 years ago
0
CDATA Matcher
Java 8
Matches CDATA sections while disallowing nesting
Submitted by
anonymous
-
3 years ago
0
track OM cash out
PCRE2 (PHP >=7.3)
cash out tracker
Submitted by
anonymous
-
3 years ago
0
UA phone number
ECMAScript (JavaScript)
check ua phone number
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
regex expression to DateTime checking in YYYY-MM-DDTHH:MM:SS[+/-]HH:SS
Python
/(^((\d{4}-(((0[13578]|1)-(0[1-9]|[1-2]\d|3[01]))))|((\d{4}-(((0[469]|1)-(0[1-9]|[1-2]\d|3)))))|((\d{4}-(0[2]-(0[1-9]|[1-2]\d)))))T(([01]\d|2[0-3]):([0-5]\d):([0-5]\d))?(+-\d:[0-5]\d)$)/gm
Submitted by
anonymous
-
3 years ago
(Last modified a year ago)
0
FIrst or Last Name
ECMAScript (JavaScript)
Validates a first or last name of an user. Positives: Anna Anna-Louisa Anna Louisa...
Submitted by
Iris
-
3 years ago
0
.csv data conversion for a test case
PCRE2 (PHP >=7.3)
from "['a']" to "[""a""]"
Submitted by
anonymous
-
3 years ago
0
Mikrotik Regex Firewall Log Golang
Golang
Regex para uso com Grafana Loki Log feito via Mangle, com prefix $user do freeradius.
Submitted by
Vitor Abbade
-
3 years ago
0
JavaScript Function w/ Recusive Parenthasis JavaScript Function w/ Recusive Parenthasis JavaScript Function w/ Recusive Parenthasis
PCRE2 (PHP >=7.3)
Regex that allows the following: foo(bar).qax(foo(bar).qax(foo(bar).qax(foo(bar).qax()))) Its sorta hard to make out whats going on, so I will just say it: ...
Submitted by
jD3V
-
3 years ago
0
Jerem
PCRE2 (PHP >=7.3)
To match specific name based on season code
Submitted by
anonymous
-
3 years ago
0
markdown headings with underscore
PCRE2 (PHP >=7.3)
it still makes a few false positives
Submitted by
charliecalvert
-
3 years ago
0
Url handling
Python
Simple regex to split url
Submitted by
Hangfish
-
3 years ago
0
Replace anything not a letter or a hyphen
PCRE2 (PHP >=7.3)
Make folder/url safe use with eg sed: echo 'My fancy $thing' | sed 's//-/g' results in My-fancy--thing
Submitted by
anonymous
-
3 years ago
0
find between
PCRE (PHP <7.3)
find between
Submitted by
anonymous
-
3 years ago
0
find between 2 strings
PCRE2 (PHP >=7.3)
find between 2 strings
Submitted by
anonymous
-
3 years ago
0
Select links comment
PCRE2 (PHP >=7.3)
I have a lot of code that looks like this: ...
Submitted by
charliecalvert
-
3 years ago
0
Mez regex #1
ECMAScript (JavaScript)
This is the #1 regex used in Mez
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Bracket finder ( Mez regex #2 )
ECMAScript (JavaScript)
This is the #2 regex used in Mez
Submitted by
anonymous
-
3 years ago
1
...
493
494
495
496
497
...
901
Community Library Entry
0
Regular Expression
Python
r"
(?P<first>
^
(?P<intend>
\s
*
?
)
diagGetParameterRaw
.
+
?
(?P<diagresp>
\w.
+
?
)
,
.
*
?
\"
SecurityClass
\"
,
(?P<first_rest>
.
+
?
;
(?P<newline>
[
\n\r
]
+
)
)
)
(?P<second>
(?P<second_start>
\s
*
?
_DiagGenerateKeyFromSeed
.
+
.
?
buffer,
)
.
+
?
(?P<second_rest>
0x
\d
+
?
,
.
+
)
)
"
gmi
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago