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 17,060 community submitted regex patterns...
0
check mail
ECMAScript (JavaScript)
Vérifie si le mail est valide ou non
Submitted by
anonymous
-
2 years ago
0
Truncate words to only 2 first characters of the word
ECMAScript (JavaScript)
It grabs 2 first characters from a word. So: please will be pl sure and sun will be su white and what will be wh ...
Submitted by
anonymous
-
2 years ago
0
match comments
PCRE (PHP <7.3)
/** comments */ // to the end /* comments */
Submitted by
monk
-
2 years ago
0
1부터 45까지의 숫자만 받음
PCRE2 (PHP >=7.3)
예시) 1 // ok 45 // ok 46 // no
Submitted by
anonymous
-
2 years ago
0
하나의 문자열에서 빈칸(스페이스)가 하나만 나오도록 하는 정규식
PCRE2 (PHP >=7.3)
예시 “Cafe Latte” (ㅇ) “Ca fe Latte” (ㅇ) “Cafe Latte” (X) “ Cafe Latte” (X) “ Cafe Latte ” (X)...
Submitted by
anonymous
-
2 years ago
0
ASD
PCRE (PHP <7.3)
HI
Submitted by
anonymous
-
2 years ago
0
optional character
PCRE2 (PHP >=7.3)
match strings with some optional characters
Submitted by
anonymous
-
2 years ago
(Last modified 9 months ago)
0
optional
PCRE2 (PHP >=7.3)
optional
Submitted by
anonymous
-
2 years ago
0
Исключить слово из regexp
PCRE2 (PHP >=7.3)
Для того, чтобы найти все вхождения в строке зная начало (begin) и конец (end) подстроки без наличия в ней некоторых слов (word1 и word2), нужно использовать вот такое регулярное выражение:
Submitted by
adminway
-
2 years ago
2
Find external resources in styles
ECMAScript (JavaScript)
Finds all external resources declared as url() in styles. Handles different quote types if any, even escaped ones: url(...) url('...') url("...") url(\'...\') url(\"...\")
Submitted by
anonymous
-
2 years ago
0
Path shortener
PCRE2 (PHP >=7.3)
Used to shorten a path before printing it. Useful to know where we are without printing a 10km path to the screen !
Submitted by
totok
-
2 years ago
0
Pick third section
Python
Pick third section
Submitted by
Charles
-
2 years ago
0
Valores numéricos aislados
Python
Hace coincidir para el sistema de numeración decimal valores numéricos aislados, es decir, valores no unidos a otros caracteres. test: 11 +11 -11 99-99 a99 a+99 a-99 99a +99a -99a 22e22 22e+22 +22e22 +22e+22 22.22 22. .22 22.e22 22.e+22 22.22e22 22.22e+22 .22e22 .22e+22 88e 88e+ e88 e+88 88e88.
Submitted by
Johnny Alonso
-
2 years ago
0
RegEX_CPF (Formatação opcional)
PCRE2 (PHP >=7.3)
Match 1: 123.465.789-00 Group 1: 123.465.789-00 Group 2: 123 Group 3: 456 Group 4: 789 Group 5: 00
Submitted by
BAWB.io
-
2 years ago
0
Barcode Regex
PCRE2 (PHP >=7.3)
Barcode Regex
Submitted by
anonymous
-
2 years ago
1
todos and tags in code
PCRE2 (PHP >=7.3)
todos and tags in code
Submitted by
anonymous
-
2 years ago
0
Extarct Gene Name from GTF File
Python
The following regex can be used to extract gene names from gtf files
Submitted by
anonymous
-
2 years ago
1
Números decimales y exponenciales aislados
Python
Hace coincidir números decimales y exponenciales aislados para el sistema de numeración decimal. 22e22 22e+22 +22e22 +22e+22 22.22 22. .22 22.e22 22.e+22 22.22e22 22.22e+22 .22e22 .22e+22 88e 88e+ e88 e+88 88e88.
Submitted by
Johnny Alonso
-
2 years ago
(Last modified 2 years ago)
0
Números enteros aislados
Python
Hace coincidir números enteros aislados para el sistema de numeración decimal. test: 11 +11 -11 99-99 a99 a+99 a-99 99a +99a -99a
Submitted by
Johnny Alonso
-
2 years ago
0
Note Body HTML
PCRE2 (PHP >=7.3)
Match all valid HTML tags
Submitted by
anonymous
-
2 years ago
1
...
98
99
100
101
102
...
853
integer number
0
Regular Expression
PCRE (PHP <7.3)
/
^
[
]
?
(?:
1
?
\d
(?:
[
\.\,
]
\d
{1,2}
)?
|
20
(?:
[
\.\,
]
0
?
0
?
)?
)
[
]
?
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
3 years ago