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 6,200 community submitted regex patterns...
0
Semver regex
PCRE2 (PHP >=7.3)
Example of regex for semver with pre-releases
Submitted by
anonymous
-
2 years ago
0
import syntax for regex with grouping
ECMAScript (JavaScript)
HAYO!
Submitted by
CreeJee
-
2 years ago
0
匹配特定注释和属性内容,添加额外属性
PCRE2 (PHP >=7.3)
//绑定业务员分配量 private int bindSchedulerCount; 替换成 //绑定业务员分配量 private int bindSchedulerCount; //绑定业务员准确率...
Submitted by
fu jw
-
2 years ago
0
MyRegex
ECMAScript (JavaScript)
Parse
Submitted by
anonymous
-
2 years ago
0
To Identify Valid Date Formats
PCRE2 (PHP >=7.3)
We can identify the valid Date formats using this regex.
Submitted by
Sabareesan S
-
2 years ago
0
Extract file name from path
PCRE2 (PHP >=7.3)
Extracts string between the last / and .
Submitted by
superfranky32
-
2 years ago
0
Extract CREATE TABLE statements from SQL dump file
PCRE2 (PHP >=7.3)
Usage: pcre2grep -M -e'^(CREATE TABLE*?;)' dump.sql > create-tables.sql
Submitted by
Daniel J. Post
-
2 years ago
0
正規式向後看
PCRE2 (PHP >=7.3)
抓括號後的文字
Submitted by
Devin
-
2 years ago
0
South African ID Numbers
PCRE2 (PHP >=7.3)
This is a Regex for South African ID numbers. SA ID numbers' format is the following: YYMMDD GGGG CAZ ...
Submitted by
Riaan van den Berg
-
2 years ago
(Last modified a year ago)
0
First letter of compound name with accent (space, apostrophe and hyphen)
ECMAScript (JavaScript)
First letter of compound name with accent (space, apostrophe and hyphen)
Submitted by
Nale974
-
2 years ago
0
Grafana - Templating with Variables : Display Text to Value
PCRE2 (PHP >=7.3)
Grafana Templating : Friendly Variable Values as Display Names Check below Grafana Documentation for the Use Case : https://grafana.com/docs/grafana/latest/dashboards/variables/add-template-variables/#filter-and-modify-using-named-text-and-value-capture-groups This example demonstrates how to extr...
Submitted by
ulgena
-
2 years ago
(Last modified 2 years ago)
0
Octal Literal remover
PCRE2 (PHP >=7.3)
Useful for javascript calculator
Submitted by
github devynj4722
-
2 years ago
0
Match import lines
ECMAScript (JavaScript)
Match import lines to disable spelling error in package names.
Submitted by
anonymous
-
2 years ago
0
Is string a number?
PCRE2 (PHP >=7.3)
Solution to this problem: https://py.checkio.org/tracking/click/eyJ1cmwiOiAiaHR0cHM6Ly9weS5jaGVja2lvLm9yZy9taXNzaW9uL2lzLXN0cmluZy1hLW51bWJlci1wYXJ0LWlpL3NoYXJlL2Y4YWY2OWFhNzkxNDFlYzkyYTRlYmRiNjJmMzk1NzllLyIsICJtZXRhZGF0YSI6IHsidHJhY2tpbmdfY29kZSI6ICJmMjNkNmUxNzI3MmM0YWY1YmJlNjAxMjM5Yzg0MDhhNiJ9fQ==
Submitted by
Sohang Chopra
-
2 years ago
0
Dutch postalcode regex
ECMAScript (JavaScript)
Matches first postal code, case insensitive
Submitted by
anonymous
-
2 years ago
0
Find GUI {198699vh876ehge}
PCRE2 (PHP >=7.3)
Find a GUI {29v9v9363}
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
HTML to Text only
PCRE2 (PHP >=7.3)
Removing HTML tags completely and only keeping text between them. USAGE: I used it to sum words to calculate reading time for articles.
Submitted by
@navoneel-talukdar - StackOverflow
-
2 years ago
0
test
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
2 years ago
0
Stripe ID Regex
PCRE2 (PHP >=7.3)
For stripe products or prices
Submitted by
anonymous
-
2 years ago
0
Remove leading and trailing zeros from decimal numbers
PCRE2 (PHP >=7.3)
Remove leading and trailing zeros from decimal numbers
Submitted by
asasine
-
2 years ago
(Last modified 2 years ago)
1
...
280
281
282
283
284
...
310
Community Library Entry
16
Regular Expression
ECMAScript (JavaScript)
/
^
(?=
.
*
[
0
-
9
]
)
(?=
.
*
[
a
-
z
]
)
(?=
.
*
[
A
-
Z
]
)
(?=
.
*
[
@#$%^&+=.
\-
_*
]
)
(
[
a
-
zA
-
Z0
-
9@#$%^&+=*.
\-
_
]
){3,}
$
/
Open regex in editor
Description
Safe Password that allow only with a number, a lowercase, a uppercase, and a special character
Submitted by
davidlondono
-
10 years ago