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 11,300 community submitted regex patterns...
0
sysfs wwid
PCRE (PHP <7.3)
Expression for linux sysfs wwid parse (/sys/block/sda/device/wwid)
Submitted by
Edgar Cherkasov
-
7 years ago
0
find javascript css html links in html content
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Parsing json to split between names, values and delimiting characters
PCRE (PHP <7.3)
Splits json into 2 groups - values and delimiters of objects, arrays, pairs, names, values
Submitted by
GigaMacRex
-
7 years ago
0
格式化
PCRE (PHP <7.3)
数字格式化,匹配没3位的空格
Submitted by
anonymous
-
7 years ago
0
Detecting Valid Latitude and Longitude Pairs
PCRE (PHP <7.3)
Detecting Valid Latitude and Longitude Pairs HackerRank
Submitted by
anonymous
-
7 years ago
0
LPS
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
add thousands to number
PCRE (PHP <7.3)
%# 1. create your formated string x = 12345678; str = sprintf('%d',x) %# 2. use regexprep to add commas %# flip the string to start counting from the back...
Submitted by
anonymous
-
7 years ago
0
Datacon.Build.ProjectLine
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
AT errormail
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
No Leading Zeros
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Delimitados por punto y coma
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Get MultipleCheckbox parameter
PCRE (PHP <7.3)
Return all get checkbox parameters. String: tx_example%5Bfilter%5D%5BfilterIndustry%5D%5B0%5D=2 &tx_example%5Bfilter%5D%5BfilterIndustry%5D%5B1%5D=6&cHash=0bc48e5ae84ndb2705e9297feecd3a84 Will find: tx_example%5Bfilter%5D%5BfilterIndustry%5D%5B0%5D=2 and split this to...
Submitted by
anonymous
-
7 years ago
0
'$1',
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Settlement statement transformation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Windows Security Log Event ID 4624
PCRE (PHP <7.3)
An account was successfully logged on
Submitted by
anonymous
-
7 years ago
0
Windows Security Log Event ID 4625
PCRE (PHP <7.3)
An account failed to log on
Submitted by
anonymous
-
7 years ago
0
Windows Security Log Event ID 4634
PCRE (PHP <7.3)
An account was logged off
Submitted by
anonymous
-
7 years ago
0
Windows Security Log Event ID 4647
PCRE (PHP <7.3)
User initiated logoff
Submitted by
anonymous
-
7 years ago
0
Windows Security Log Event ID 4740
PCRE (PHP <7.3)
A user account was locked out
Submitted by
anonymous
-
7 years ago
0
Windows Security Log Event ID 4767
PCRE (PHP <7.3)
A user account was unlocked
Submitted by
anonymous
-
7 years ago
1
...
282
283
284
285
286
...
565
Community Library Entry
0
Regular Expression
Python
r"
(
```
|
`
)
(
python
)?
\s
*
?
\n
?
(
from
\S
+
)?
import
\S
+
(
\n.
*
?
;
)*
\n
(
(
.
*
return
\S
+
```
)
|
(
`return
\S
+
`
)
)
"
gm
Open regex in editor
Description
A regex that matches comments that adhere to the rules of r/ProgrammerHumor
Submitted by
anonymous
-
a year ago