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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,500 community submitted regex patterns...
0
Find coordinates
Python
Find coordinates
Submitted by
jjvillavicencio
-
3 years ago
0
Pesables
PCRE (PHP <7.3)
4 enteros / coma o punto / 3 decimales
Submitted by
nico-ber
-
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
1
lsblk-output-regex
Golang
Trying to adapt this regex to support LVM.
Submitted by
anonymous
-
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
1
CUenta bancaria
PCRE (PHP <7.3)
En Colombia, el número de cuentas bancarias es de máximo 15 dígitos y por lo tanto no deben superar ese tope. En el caso del Banco Davivienda, el número de cuenta bancaria puede exceder los 15 dígitos, el numero se debe realizar desde el primer dígito de adelante, cero (0), ya que este no se toma e...
Submitted by
macorreag
-
3 years ago
0
yaml file names with alternatives
Python
matches any file with *.yml or *.yaml
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
Starts by # inside string
PCRE (PHP <7.3)
Match with starts by character "#" and follow number inside string
Submitted by
anonymous
-
3 years ago
0
Finds all forms of "согласен" words
Python
Finds all forms of "согласен" words
Submitted by
anonymous
-
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
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
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
my birthday pattern
PCRE (PHP <7.3)
must match format: yyyy-MM-dd
Submitted by
anonymous
-
3 years ago
1
link findall
Python
Submitted by
Kerem Göksu
-
3 years ago
0
Phone Regex
Python
For Phone Numbers
Submitted by
anonymous
-
3 years ago
0
Perfect Time timestamp
PCRE (PHP <7.3)
https://github.com/BlueHuskyStudios/Perfect-Time/
Submitted by
Ky Leggiero
-
3 years ago
0
Semver
PCRE (PHP <7.3)
Public library
Submitted by
Masoud shokohi
-
3 years ago
0
Match first letter of words for names
PCRE (PHP <7.3)
Also matches the first letter after ' or -
Submitted by
anonymous
-
3 years ago
(Last modified 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
1
...
34
35
36
37
38
...
575
SCID
0
Regular Expression
PCRE (PHP <7.3)
/
(
(
ServiceCodeID
\s
*
=
\s
*
[^
\s
@a
-
z
]
[
0
-
9
]
{1,}
)
|
(
ServiceCodeID
\s
*
in
\s
*
\(
\s
*
[
0
-
9
\,
*
]
{1,}
\s
*
\)
)
)
|
(
(
ProgramID
\s
*
=
\s
*
[^
\s
@a
-
z
]
[
0
-
9
]
{1,}
)
|
(
ProgramID
\s
*
in
\s
*
\(
\s
*
[
0
-
9
\,
*
]
{1,}
\s
*
\)
)
)
/
gmi
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago