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,200 community submitted regex patterns...
1
中文匹配
ECMAScript (JavaScript)
本示例启用了多行匹配 m
Submitted by
yang
-
3 years ago
1
phone number middle number parsing
Java 8
middle number parsing regex
Submitted by
anonymous
-
3 years ago
1
Get project name from git url
Golang
Used by Zarf to obtain the name of a repository when given a git URL.
Submitted by
Jonathan Perry
-
3 years ago
1
js获取url上的参数
ECMAScript (JavaScript)
/(+)=(+)/gm
Submitted by
anonymous
-
3 years ago
1
Find duplicate char in a string
ECMAScript (JavaScript)
it was used in this codewar challenge. and i find i really interesting. Also u can Write it like this if you want /(.)\1+/g it works exactly the same
Submitted by
anonymous
-
3 years ago
1
RegEX IBAN SEPA with spaces
ECMAScript (JavaScript)
RegEX IBAN SEPA with spaces
Submitted by
Karim MB
-
3 years ago
1
Percentage regex
ECMAScript (JavaScript)
Percentage regex allows integer and float values e.g. 10 // valid 12 // valid 12.34 // valid 12.345 // invalid 99.99 // valid...
Submitted by
Ankit Patel
-
3 years ago
1
Regex for url
ECMAScript (JavaScript)
Regex for url
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
1
Fix markdown image in header
PCRE2 (PHP >=7.3)
I was converting from markdown to another format & it didn't allow images in headers so this Regex finds an image in a header & moves it before the header.
Submitted by
thefinnomenon
-
3 years ago
1
AsciiDoc delimited block example
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/
Submitted by
aisbergde
-
3 years ago
(Last modified 3 years ago)
1
Match binary calculator, Operands and Operator
ECMAScript (JavaScript)
Match binary number (0 | 1), with or not Operand (+ | - | / | *)
Submitted by
chuaschinai
-
3 years ago
1
Password regular expression
PCRE2 (PHP >=7.3)
Password should contain at least 8 symbols, one lower case, one upper case and one number. https://owasp.org/www-community/password-special-characters
Submitted by
Tahiaji
-
3 years ago
1
Chinese Phone Number
PCRE2 (PHP >=7.3)