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 12,820 community submitted regex patterns...
0
零宽断言 - 前方不为指定字符串
PCRE (PHP <7.3)
零宽断言比较复杂。保存了一些示例待不时之需 ()表示捕获分组,()会把每个分组里的匹配的值保存起来,从左向右,以分组的左括号为标志,第一个出现的分组的组号为1,第二个为2,以此类推 (?:)表示非捕获分组,和捕获分组唯一的区别在于,非捕获分组匹配的值不会保存起来 正则表达式的先行断言和后行断言一共有 4 种形式:...
Submitted by
anonymous
-
3 years ago
0
123
Java 8
123
Submitted by
anonymous
-
3 years ago
0
Pattern-12r1
ECMAScript (JavaScript)
This pattern needs to validate serial number
Submitted by
Raj
-
3 years ago
0
Find Anchor Tags
ECMAScript (JavaScript)
finding all anchor tags to help with removing their href attribute
Submitted by
Cezer
-
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
iframe src url
ECMAScript (JavaScript)
Extract the URL (http(s) only) of a given iframe's src attribute.
Submitted by
Neill
-
3 years ago
(Last modified 3 years ago)
0
Yuque
Java 8
Yuque
Submitted by
anonymous
-
3 years ago
0
Skype name
ECMAScript (JavaScript)
regex to match skype name
Submitted by
anonymous
-
3 years ago
0
LinkedInURL Validation
ECMAScript (JavaScript)
It will validate linkedin profile url validation in client side. using javascript
Submitted by
Arumugam, MiPS
-
3 years ago
(Last modified 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
download file
ECMAScript (JavaScript)
get the name of download file
Submitted by
stefango
-
3 years ago
0
Remove HTML tags from HTML string
ECMAScript (JavaScript)
Remove HTML tags from HTML string
Submitted by
hiroimono
-
3 years ago
0
Canadian Postal Code
ECMAScript (JavaScript)
The postal code is a six-character code defined and maintained by Canada Post Corporation (CPC) for the purpose of sorting and delivering mail. The characters are arranged in the form ‘ANA NAN’, where ‘A’ represents an alphabetic character and ‘N’ represents a numeric character (e.g., K1A 0T6). The ...
Submitted by
Jonathan Lafleur
-
3 years ago
0
Remove leading zeros (on the left) on ipv4 (ip v4)
ECMAScript (JavaScript)
Regex to remove leading (on the left) zeros on ipv4 (ip v4) Source: https://autohotkey.com/board/topic/15491-regex-to-strip-leading-zeroes-out-of-an-ip-address-octet/
Submitted by
YMP
-
3 years ago
0
Match all dots except last one
ECMAScript (JavaScript)
Match all dots except last one
Submitted by
sagarpanchal
-
3 years ago
0
Phone Column Matcher
ECMAScript (JavaScript)
phone column matcher
Submitted by
anonymous
-
3 years ago
0
GodZeus
ECMAScript (JavaScript)
Tha endgame
Submitted by
Karel fouco
-
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
1
...
600
601
602
603
604
...
641
street address Checker and fetcher
-1
Regular Expression
PCRE (PHP <7.3)
/
(
(
[
0
-
9a
-
z-A
-
Z
]
+
){1}
+
(
(
\s
+
[
a
-
zA
-
Z.,
]
+
|
\s
+
[
a
-
zA
-
Z,.
]
+
\s
){2,10}
)?
(
\#
[
0
-
9a
-
z-
\-
]
+
|
\#
\s
+
[
0
-
9
\-
]
+
|
[
0
-
9
\-
]
+
)
)
/
g
Open regex in editor
Description
Check provided street address is valid or not and also fetch it's all components.
Submitted by
Dilip Borad
-
9 years ago