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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 2,500 community submitted regex patterns...
0
regex_avec_bureau
Python
nlp
Submitted by
guif
-
3 years ago
0
regex_avec_bureau2
Python
regex
Submitted by
guif
-
3 years ago
0
regex_avex_commerce
Python
regex
Submitted by
guif
-
3 years ago
0
Match all text&newlines inside
Python
...
Submitted by
karkraeg
-
3 years ago
0
Remove specified entry from etcd configuration
Python
Given a hostname, which in the example is app-failedhost-eeeeeeeeee.node.consul, and a ETCD_INITIAL_CLUSTER= line with three hosts listed, print out the line with the given host removed Examples (3) with the host in first, second, or last position
Submitted by
stephenwb
-
3 years ago
0
CFF-definitions.orcid
Python
Pattern for validating a definitions.orcid value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
0
File information modify
Java 8
file_(name)|file_(path)|file_(size)|file_(date) - searching (regex rule) file_info, name, path, size, date - keeping (result)
Submitted by
Dorival Trindade
-
3 years ago
0
email with cyrillic
Java 8
email with cyrillic
Submitted by
Mpchest
-
3 years ago
0
Phone Regex
Python
For Phone Numbers
Submitted by
anonymous
-
3 years ago
0
select
Java 8
select\s+(\|((\w+(\.\w+)?)+(\s?,\s?\w+(\.\w+)?))|((\w+\(|(\w+\.\w+)?\))(\s+\,\s+)?)+)\s+from\s+(\w+(\s?,\s?\w+)*\;?)(\s+((\w+\s+join)\s+(\w+(\.\w)?\s+on\s+(\w+(\.\w+)?\s+=\s+\w+(\.\w+)?)?)(\s+,\s+)?)+)?(\s+((limit\s+(\w+)?\s?(\,\w+\;)?)|((where)?\s+?(+\s?;))))?
Submitted by
anonymous
-
3 years ago
0
HTML Document or Fragment Heuristic
Python
From the StackOverflow question "Check if a string is html or not" there are many examples and a few approaches, some more expensive than others. Full DOM parsing and detecting constructed DOM elements is sure-fire, but slow, requiring a browser with parser and DOM representation. Regular expression...
Submitted by
Alice Bevan-McGregor
-
3 years ago
0
Get number in the middle of string
Python
From Rp. 1.000.005,52 (35 %) to 1.000.005,52
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Replace First and Last Word in string
Python
From Rp. 1000 (3 %) to 1000
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Finds all forms of "согласен" words
Python
Finds all forms of "согласен" words
Submitted by
anonymous
-
3 years ago
0
SC Log Line Explanation
Python
Matches elements of a log entry from SC.
Submitted by
G.E. Hatt Jr
-
3 years ago
0
yaml file names with alternatives
Python
matches any file with *.yml or *.yaml
Submitted by
anonymous
-
3 years ago
0
Regex to verify a java method
Java 8
Verifies java methods
Submitted by
Marco Galindo
-
3 years ago
0
Add missing ClassVar type annotations to arbitrarily nested Python class attributes with existing annotations.
Python
Assuming class variables are defined in SCREAMING_SNAKE_CASE, this regex searches for class attributes which do not yet have a ClassVar annotation from the typing module. This can be useful for adding missing class variables by replacing the group named 'annotation' with ClassVar[${annotation}]. I.e...
Submitted by
jrbergen
-
3 years ago
0
Non-"ness" remover
Python
Remove all words that don't end in "ness" from a dictionary.
Submitted by
anonymous
-
3 years ago
0
移除非法字符
Java 8
冲鸭!
Submitted by
anonymous
-
3 years ago
1
...
95
96
97
98
99
...
125
Dolares Precios
0
Regular Expression
Python
r"
(
U
[
S$
]
[
DS
]
?
)
\:
?
\s
?
(
(
\d
{5,8}
)
\,
?
\d
?
\d
?
|
(
\d
{2,3}
\.
\d
{3}
)
\,
?
\d
?
\d
?
|
(
\d
{1,2}
\.
\d
{3}
\.
\d
{3}
)
\,
?
\d
?
\d
?
)
|
(
(
\d
{5,8}
)
\,
?
\d
?
\d
?
|
(
\d
{2,3}
\.
\d
{3}
)
\,
?
\d
?
\d
?
|
(
\d
{1,2}
\.
\d
{3}
\.
\d
{3}
)
\,
?
\d
?
\d
?
)
\s
?
(
U
[
S$
]
[
DS
]
?
|
D
[
OÓ
]
LARES
)
"
gmi
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago