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
Match all text&newlines inside
Python
...
Submitted by
karkraeg
-
3 years ago
0
Reddit video url
ECMAScript (JavaScript)
Matches Reddit video URLs to allow you to replace part of it to get the video's audio URL
Submitted by
anonymous
-
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
Regex to match 1000, >1000, >=1000, =1000, <=1000, ~1000
PCRE2 (PHP >=7.3)
Regex to match special characters followed by a specific number(1000)
Submitted by
Mehul Thakkar
-
3 years ago
0
test
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
3 years ago
0
Performa
PCRE (PHP <7.3)
/^(?P0|[1-9]\d)\.(?P0|[1-9]\d)\.(?P0|[1-9]\d)(?:-(?P(?:0|[1-9]\d|\da-zA-Z-)(?:\.(?:0|[1-9]\d|\da-zA-Z-))))?(?:\+(?P[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/gm
Submitted by
anonymous
-
3 years ago
0
Captures composed and simple Names, with 1st capital Letter at each subname, and following lower letters
ECMAScript (JavaScript)
captures the simple names and composed names whose first letter is Upper letter, and following letters are lower letters, for each composed name, Accepts accents in both upper and lower letters. for ex: Jean-Luc, Jean, Pierre, Pierre-Louis, Özil-Ricô...
Submitted by
anonymous
-
3 years ago
0
Extract words start with _ and end with ;
PCRE2 (PHP >=7.3)
Extract words start with _ and end with ;
Submitted by
Ashish Shah
-
3 years ago
0
Abacum - This
ECMAScript (JavaScript)
testing syntax autocomplete
Submitted by
anonymous
-
3 years ago
0
validate Page range input
ECMAScript (JavaScript)
Given an iput of page range by the user, validate if the input matches an acceptable format.
Submitted by
Anwesh Gangula
-
3 years ago
0
Todo
ECMAScript (JavaScript)
Regex to match consecutive identical characters. Then replace each match with `` Eg: "Hello" will yield "H1e1l2o1"
Submitted by
Chief A
-
3 years ago
0
Match all movie titles containing a word ending in 'tes'
PCRE2 (PHP >=7.3)
Regex quiz in python. Match all movie titles containing a word ending in 'tes'
Submitted by
Teddy Petrou
-
3 years ago
0
CPF
PCRE (PHP <7.3)
Regra de validação de CPF.
Submitted by
anonymous
-
3 years ago
0
find matched words
PCRE2 (PHP >=7.3)
find matched words
Submitted by
fajar
-
3 years ago
0
CFF-definitions.reference.issn
PCRE2 (PHP >=7.3)
Pattern for validating a definitions.reference.issn value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
0
CFF-definitions.reference.languages
PCRE2 (PHP >=7.3)
Pattern for validating definitions.reference.languages values in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
0
CFF-definitions.reference.pmcid
PCRE2 (PHP >=7.3)
Pattern for validating a definitions.reference.pmcid value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
0
CFF-definitions.swh-identifier
PCRE2 (PHP >=7.3)
Pattern for validating a definitions.swh-identifier value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
0
Cron regex
PCRE2 (PHP >=7.3)
cron regular expression
Submitted by
anonymous
-
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)
1
...
440
441
442
443
444
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
%%
[
C,c
]
)
(
[
0
-
9
]
{1,2}
)
(
S
[
0
-
9
]
{3}
)
-
(
[
0
-
9
]
{2,3}
)
\/
(
%%
[
C,c
]
)
(
[
0
-
9
]
{1,2}
)
(
S
[
0
-
9
]
{3}
)
-
(
[
0
-
9
]
{2,3}
)
[
]
+
(
[
0
-
9
]
{2,3}
)
[
x,X,х,Х
]
(
[
0
-
9
]
{2,3}
)
[
]
(
[
0
-
9
]
{2,3}
)
(
[
+
]
[
0
-
9
]
{2,3}
|)
\/
(
[
0
-
9
]
{2,3}
)
/
gm
Open regex in editor
Description
Parsing signature of wire rebar mesh by "ГОСТ 23279-2012"
Submitted by
Anatoliy Zhartun
-
2 years ago