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 5,720 community submitted regex patterns...
0
CSS @import statement
ECMAScript (JavaScript)
Matches CSS @import statements with media and layer support
Submitted by
anonymous
-
a year ago
0
last last name wo suffix1
Python
last last name wo suffix1
Submitted by
josh
-
a year ago
0
匹配任何小数,小数点后不保留0
ECMAScript (JavaScript)
匹配任何小数,小数点后不保留0
Submitted by
anonymous
-
a year ago
0
match ipv4 dynamic add
Python
match ipv4 dynamic add
Submitted by
anonymous
-
a year ago
0
scriptpak №1
Python
scriptpak №1
Submitted by
anonymous
-
a year ago
0
Markdown JSON codeblock match
ECMAScript (JavaScript)
Useful to extract JSON from LLM markdown responses
Submitted by
Lamer217
-
a year ago
(Last modified a year ago)
0
Options symbol parse
ECMAScript (JavaScript)
parse option symbol
Submitted by
anonymous
-
a year ago
0
001~999之间的整数
Python
匹配001~999之间的整数
Submitted by
jgx
-
a year ago
0
Remove JSON value quotes
ECMAScript (JavaScript)
Removes quotes from value of JSON string
Submitted by
anonymous
-
a year ago
0
parse data URL
ECMAScript (JavaScript)
Parse Data URL like: data:image/png;base64,__iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==__
Submitted by
Alan S. Ferreira
-
a year ago
0
Matches words and groups words in quotes
ECMAScript (JavaScript)
Spilt a string grouping words in quotes. String: First Last "Full Name" Matches: First|Last|"Full Name"
Submitted by
Frosty
-
a year ago
0
JavaScript camelCase
ECMAScript (JavaScript)
including digits and sequential uppercase letters
Submitted by
anonymous
-
a year ago
0
JavaScript kebab-case
ECMAScript (JavaScript)
including digits and double dashes
Submitted by
anonymous
-
a year ago
0
Latin Character ranges
ECMAScript (JavaScript)
Latin Character ranges
Submitted by
anonymous
-
a year ago
0
Find last word and space of string
ECMAScript (JavaScript)
Foo Bar
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Page X of X
Python
Only matches patterns like "Page 1 of 1", "Page 2 of 2", "Page 3 of 3", "Page 4 of 4", "Page 106 of 106", etc. Only works when page numbers in the string are the same.
Submitted by
anonymous
-
a year ago
0
Catch packages from 'tdnf list' output
Golang
Every valid line will be of the form: . . . NOTE: the distribution tag is expected to start with at least one letter and be followed by at least one digit.
Submitted by
anonymous
-
a year ago
0
MTN Momo Infos
Python
A regex to extract meaningful infos from a Momo message (mobile money) which is recurrent in Africa.
Submitted by
Hans T.
-
a year ago
0
Regex para Logs de Kiwi Log Forwarder
Python
Los logs de Kiwi Log Forwarder no se guardan de manera correcta como un CSV, por lo que tengo la idea de con una regex vaciarlos a un CSV bien hecho para poder tener mejor visualización de estos
Submitted by
anonymous
-
a year ago
0
Валидность телефона Российской Федерации форматов "+7", "7", "8"
ECMAScript (JavaScript)
Работает с форматами +7, 7, 8 Варианты валидации любые.
Submitted by
anonymous
-
a year ago
1
...
283
284
285
286
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