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 5,820 community submitted regex patterns...
0
date format YYYY-MM-DD
ECMAScript (JavaScript)
to detect date format YYYY-MM-DD ony starting from 1900
Submitted by
anonymous
-
2 years ago
0
get package and version from path after several words
PCRE2 (PHP >=7.3)
skip a word initially then get the package from pair of slashes
Submitted by
anonymous
-
2 years ago
0
Password with a-z, A-Z, 0-9 or special character
ECMAScript (JavaScript)
at least 1 lower-case character at least 1 upper-case character at least 1 number or special character
Submitted by
Wemo
-
2 years ago
0
Email
PCRE2 (PHP >=7.3)
Email
Submitted by
anonymous
-
2 years ago
0
Twig Translation Regex
PCRE2 (PHP >=7.3)
Twig Translation Regex
Submitted by
selcuk mart <admin@hostingdevi.com>
-
2 years ago
0
Valid domain Check
PCRE2 (PHP >=7.3)
Valid domain check, includes multibyte character check.
Submitted by
anonymous
-
2 years ago
1
Sri Lankan Mobile Number Validation
PCRE2 (PHP >=7.3)
See https://en.wikipedia.org/wiki/Telephone_numbers_in_Sri_Lanka
Submitted by
Isuru Ranawaka
-
2 years ago
1
Sri Lankan Land/Fixed-line Telephone Number Validation
PCRE2 (PHP >=7.3)
Sri Lankan Land/Fixed-line Telephone Number Validation This expression validates if a given value is a valid Sri Lankan fixed line / land line telephone number. Sri Lankan land line numbers starts from 0 and does not contain 7 in the 2nd digit, and is 10 digits in length. ...
Submitted by
Isuru Ranawaka
-
2 years ago
0
Card number
PCRE2 (PHP >=7.3)
Card number
Submitted by
anonymous
-
2 years ago
0
google
PCRE2 (PHP >=7.3)
google api
Submitted by
anonymous
-
2 years ago
0
Get HTML Balise
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
2 years ago
0
Remove Empty Lines From TXT Document
ECMAScript (JavaScript)
Remove all empty lines from text document.
Submitted by
anonymous
-
2 years ago
0
Remove leading and trailing spaces
ECMAScript (JavaScript)
Remove leading and trailing spaces from multiline text.
Submitted by
Freemen Muaddib
-
2 years ago
0
Kucoin trading
PCRE2 (PHP >=7.3)
Used to match kucoin trading links
Submitted by
anonymous
-
2 years ago
0
Replace regex with [does not contain string + contain string]
PCRE2 (PHP >=7.3)
o let's imagine this here: images/dwaudhawd_Test Picture.png I would need to replace this into this: images/dwaudhawd_Test Picture.webp...
Submitted by
Suman Maharjan
-
2 years ago
0
灾难性回溯
PCRE2 (PHP >=7.3)
灾难性回溯
Submitted by
anonymous
-
2 years ago
0
独占模式
PCRE2 (PHP >=7.3)
独占模式
Submitted by
anonymous
-
2 years ago
0
非贪婪
PCRE2 (PHP >=7.3)
非贪婪
Submitted by
anonymous
-
2 years ago
0
Tailwindcss Dark: class selection
ECMAScript (JavaScript)
Select all dark: classes in a project to remove it if you want that.
Submitted by
Amit
-
2 years ago
(Last modified 2 years ago)
0
/Host: (.*?)<br>/gu
PCRE2 (PHP >=7.3)
1
Submitted by
anonymous
-
2 years ago
1
...
81
82
83
84
85
...
291
First Character can not be space, and allow only characters
0
Regular Expression
ECMAScript (JavaScript)
/
^\S.
*
[
a
-
zA
-
Z
\s
]
*
$
/
g
Open regex in editor
Description
First character can not be space and only characters are allowed
Submitted by
anonymous
-
2 years ago