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 4,520 community submitted regex patterns...
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)
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)
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 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
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
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)
匹配文本开头的(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)
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
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)
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)
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)
test
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
a year ago
2022-08-30 10:42
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)
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)
IPv6
PCRE2 (PHP >=7.3)
Matches an IPv6 address. Performances are the same as the excellent one from frusty. This regular expression uses pattern repetition (?n) to reduce the length to 191 characters.
Submitted by
Piwi
-
a year ago
2022-09-01 12:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Rejex1
PCRE2 (PHP >=7.3)
Preg_match
Submitted by
anonymous
-
a year ago
2022-09-01 13:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bangla word Regex
PCRE2 (PHP >=7.3)
This regex will help to detect Bengali words.
Submitted by
Rudra Sarkar
-
a year ago
2022-09-01 18:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MySQL : table structure info
PCRE2 (PHP >=7.3)
MySQL : table structure parser mysql command : SHOW COLUMNS FROM edn_work_order_event
Submitted by
dobri
-
a year ago
2022-09-02 06:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
(1) Custome, 50 Another Word
PCRE2 (PHP >=7.3)
Some description
Submitted by
anonymous
-
a year ago
2022-09-02 20:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match words separated by comma in a line starting with a specific keyword
PCRE2 (PHP >=7.3)
From https://stackoverflow.com/questions/54387368/match-words-separated-by-comma-in-a-line-starting-with-a-specific-keyword Modified to help me edit Logseq markdown files. Searching for page properties.
Submitted by
anonymous
-
a year ago
2022-09-04 18:49
1
...
149
150
151
152
153
154
155
...
226
test
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
(?<=
\n
)
\w
{10}
\w
{0,5}
(?=
\w
{0,9}
)
\s
{0,18}
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2019-09-28 16:47