Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 2,340 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
extract-json-csv
PCRE2 (PHP >=7.3)
eee
Submitted by
anonymous
-
a year ago
2022-09-01 10:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Ruby Gemspec Versioning
Golang
Determine the version value in a gemspec configuration file
Submitted by
Ori
-
a year ago
2022-08-30 13:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
a year ago
2022-08-30 10:42
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Parse conventional commits message
PCRE2 (PHP >=7.3)
https://conventionalcommits.org Parses commits like type(scope)!: subject
Submitted by
Alex Kinnee
-
a year ago
2022-08-29 23:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
13000000000 (aaa, vvv)
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
a year ago
2022-08-29 13:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
stopwordlist
PCRE2 (PHP >=7.3)
stopwordlist
Submitted by
anonymous
-
a year ago
2022-08-29 11:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
English Name Regex
PCRE2 (PHP >=7.3)
Match only english characters with numbers, spaces, comma and dots. /[a-z0-9.\-\s]/gmi `
Submitted by
Giorgi Gumburashvili
-
a year ago
2022-08-29 07:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
replace date format DD.MM.YY -> YYYY.MM.DD
PCRE2 (PHP >=7.3)
Search: 12) 05.09.08 - xxxxxxxxxx Replace: 2008.09.05 - xxxxxxxxxx (0-9\)\x20)(0-9|0-9-0-9)\.(0-9)\.(0-9) 20$4.$3.$2
Submitted by
DbrmnPhrh
-
a year ago
2022-08-27 16:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
1
Golang
11
Submitted by
anonymous
-
a year ago
2022-08-26 15:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配文本开头的(xxx) xxx) ) 或者 xxx.
PCRE2 (PHP >=7.3)
匹配文本开头的(xxx) xxx) ) 或者 xxx.
Submitted by
anonymous
-
a year ago
2022-08-26 09:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Learn regex
PCRE2 (PHP >=7.3)
Learn regex
Submitted by
Supermen
-
a year ago
2022-08-26 03:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PHPDOC Regex for extracting @param
PCRE2 (PHP >=7.3)
Regex used for extract @param in phpdoc
Submitted by
fmargerit
-
a year ago
2022-08-25 10:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
do_action and apply_filters name getter for Wordpress
PCRE2 (PHP >=7.3)
This will pluck out any do_action or apply_filters name in your code. Useful if you want to see what actions or filters have been added or deprecated between codebases, etc.
Submitted by
olie480
-
a year ago
2022-08-23 21:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
url regex
PCRE2 (PHP >=7.3)
Submitted by
-
a year ago
2022-08-23 19:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match number from URL surrounded by slashes
PCRE2 (PHP >=7.3)
Match number from URL surrounded by slashes, except numbers within domain (as it's not surrounded with slashes)
Submitted by
fifle
-
a year ago
2022-08-23 15:30
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
{{ start and and tags }}
PCRE2 (PHP >=7.3)
Not allowing strings that start with {{ or and with }} or }}.
Submitted by
anonymous
-
a year ago
2022-08-23 14:59
(Last modified a year ago)
2022-08-24 14:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
bold question mark line
PCRE2 (PHP >=7.3)
bold question mark line
Submitted by
anonymous
-
a year ago
2022-08-22 19:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match Date From DateTime ISO 8601
Golang
Match Date From DateTime ISO 8601
Submitted by
kuyaninja
-
a year ago
2022-08-22 10:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Change GDevelop game to use a different extension name
PCRE2 (PHP >=7.3)
Move all shield-related functions into a new behavior called "Shield". For example: BEFORE: "value": "Health::Health::IsDamageCooldownActive" "value": "Health::Health::RegenShieldWhenZero" ...
Submitted by
Victris Games
-
a year ago
2022-08-22 03:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
aws incognito Identity Pool
PCRE2 (PHP >=7.3)
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-dg.pdf#cognito-scenarios
Submitted by
anonymous
-
a year ago
2022-08-20 20:03
1
...
41
42
43
44
45
46
47
...
117
Get HTML attribute
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
(
[
a
-
zA
-
Z
]
[
\w
\-
_.:
]
*
)
\s
*
=
\s
*
"
(
(
[^
\\
"
]
|
\\
"
|
\\
)*
)
"
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
a year ago
2022-06-16 09:59
(Last modified a year ago)
2022-06-21 06:34