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 9,420 community submitted regex patterns...
0
my birthday pattern
PCRE (PHP <7.3)
must match format: yyyy-MM-dd
Submitted by
anonymous
-
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
Pesables
PCRE (PHP <7.3)
4 enteros / coma o punto / 3 decimales
Submitted by
nico-ber
-
3 years ago
0
零宽断言 - 前方不为指定字符串
PCRE (PHP <7.3)
零宽断言比较复杂。保存了一些示例待不时之需 ()表示捕获分组,()会把每个分组里的匹配的值保存起来,从左向右,以分组的左括号为标志,第一个出现的分组的组号为1,第二个为2,以此类推 (?:)表示非捕获分组,和捕获分组唯一的区别在于,非捕获分组匹配的值不会保存起来 正则表达式的先行断言和后行断言一共有 4 种形式:...
Submitted by
anonymous
-
3 years ago
0
Class atribute content
PCRE (PHP <7.3)
regular expression to pull all css classes from a html file.
Submitted by
emed
-
3 years ago
0
Validate CSS Names
PCRE (PHP <7.3)
Validate CSS Names
Submitted by
emed
-
3 years ago
0
正则表达式查找"key":"value"对
PCRE (PHP <7.3)
正则表达式查找"key":"value"对
Submitted by
hippopie
-
3 years ago
0
url
PCRE (PHP <7.3)
match url
Submitted by
anonymous
-
3 years ago
0
Commit linter
PCRE (PHP <7.3)
Regex to lint the first line of a commit
Submitted by
anonymous
-
3 years ago
0
Grab ID
PCRE (PHP <7.3)
^
Submitted by
anonymous
-
3 years ago
0
Cron
PCRE (PHP <7.3)
fr
Submitted by
anonymous
-
3 years ago
0
Add string after matching 1st occurence, every line
Golang
Regex adding a string (here vs_) after 1st matching occurence (of reflectance_\d_).
Submitted by
Nikos Alexandris
-
3 years ago
0
Extract root domain from URL
PCRE (PHP <7.3)
It will extract the root domain from any URL. This includes removing subdomains, www. and the slug.
Submitted by
randywolf244
-
3 years ago
0
Grabbing inside quotes for Google Sheets
PCRE (PHP <7.3)
Sheets treats quote marks weird since that's a character used in formulas. This is the remedy for that. It does not work in the editor. This only works in Google Sheets
Submitted by
randywolf244
-
3 years ago
0
Capture Groups with back references
PCRE (PHP <7.3)
Extracting the variable names, e.g. (DOB_TT, OSTATE, etc) by setting up capture groups and extracting the 5th capture group
Submitted by
anonymous
-
3 years ago
0
URL trailing slash check
PCRE (PHP <7.3)
This determines if URL has trailing slash
Submitted by
randywolf244
-
3 years ago
0
Ssi
PCRE (PHP <7.3)
alphabetically Scripted
Submitted by
MGB
-
3 years ago
0
Full name with accented letters
PCRE (PHP <7.3)
Accept full name with white space, hyphen, dot, apostrophe, small letters, large letters, accented letters
Submitted by
anonymous
-
3 years ago
0
Name account
PCRE (PHP <7.3)
Regex for accounts names without space
Submitted by
anonymous
-
3 years ago
0
Password Simple
PCRE (PHP <7.3)
Password regex not allowed space
Submitted by
anonymous
-
3 years ago
1
...
458
459
460
461
462
...
471
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
(?:
[
A
-
Za
-
z0
-
9+
]
+
)
(?:
[
._-
]
{1}
[
A
-
Za
-
z
]
+
)*
)
(
[
._-
]
{1}
(?:
[
+
-
_
\d
A
-
Za
-
z.
]
*
)*
)*
$
/
gm
Open regex in editor
Description
Splitting Additionalname in Basename and Specification
Submitted by
JK
-
a year ago
(Last modified a year ago)