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...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
https://www.facebook.com/theking/
PCRE2 (PHP >=7.3)
Facebook Social media
Submitted by
anonymous
-
a year ago
2022-09-02 05:39
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)
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)
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)
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
1
...
41
42
43
44
45
46
47
...
117
ID File with .txt
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
(
.
*
\/
)+
(
.
*
iRqDU1LMXL
)+
(
.
*
.
txt
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
a year ago
2022-06-15 09:32