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,740 community submitted regex patterns...
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
Regex to verify a java method
Java 8
Verifies java methods
Submitted by
Marco Galindo
-
3 years ago
0
移除非法字符
Java 8
冲鸭!
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
123
Java 8
123
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
Yuque
Java 8
Yuque
Submitted by
anonymous
-
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
Smartling custom placeholders and liquid strategy
Java 8
Suggested Smartling custom placeholder regex to support liquid syntax as documented for Braze. Because default value cannot be extracted easily recommend rewrting the liquite to avoid using default filters.
Submitted by
Eric Negron
-
3 years ago
0
Email Validation Pattern
Java 8
Email Validation Pattern
Submitted by
Aslam Anver
-
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
1
...
464
465
466
467
468
...
487
Community Library Entry
0
Regular Expression
Python
r"
(?<=
PAGE
\(
)
(?!
990
)
(?P<pg>
[
\d
]
{1,4}
)
|
(?:
(?<=
_r
|
[
\w
]
\(
)
(?P<txt_a>
[
『「“
]
[^
\n
]
+
(?=
_n
\n
)
)
|
(?P<txt_b>
[
『「“
]
.
*
)
)
"
gm
Open regex in editor
Description
Fate stay/night PS Vita version parsing
Submitted by
anonymous
-
a year ago
(Last modified a year ago)