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 11,360 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Improved HTS matcher
PCRE2 (PHP >=7.3)
For all customs related HTS stuff, you can now put the CBP document you need here and just grab all those tasty, tasty HTS numbers with this handy formula. Cheers!
Submitted by
anonymous
-
a year ago
2022-04-28 20:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Before a word
PCRE2 (PHP >=7.3)
Gets strings before or after a word
Submitted by
SuperMAC
-
a year ago
2022-04-29 21:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
imperva_regex
PCRE2 (PHP >=7.3)
A regex exercise for Imperva
Submitted by
Lesley Miller
-
a year ago
2022-04-30 05:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Código Postal + Localidade Portugal
PCRE2 (PHP >=7.3)
Format: (dddd-ddd)(.*)
Submitted by
Jonathan Vicente
-
a year ago
2022-05-02 07:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
European VAT Numbers
PCRE2 (PHP >=7.3)
EU Vat Number formats
Submitted by
Jonathan Vicente
-
a year ago
2022-05-01 19:28
(Last modified a year ago)
2022-05-02 07:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
youtube-links
PCRE2 (PHP >=7.3)
Regexing all the elements of the youtube playlist
Submitted by
anonymous
-
a year ago
2022-05-01 22:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ecoDMS-REGEX
PCRE2 (PHP >=7.3)
Search Date for AT https://regex101.com/r/Ms68ks/1
Submitted by
TORAMBO.com
-
a year ago
2022-05-02 10:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
JOOMLA_KEY
PCRE2 (PHP >=7.3)
Identifies Joomla! Language Keys
Submitted by
anonymous
-
a year ago
2022-05-02 13:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
snake case
PCRE2 (PHP >=7.3)
What is snake case? Snake case is a naming convention in which a developer replaces spaces between words with an underscore. Snake case examples Here are three simple examples of code in the snake case naming convention: increase_count_by_one materials_procurement...
Submitted by
Moonshadow2333
-
a year ago
2022-05-03 04:08
(Last modified a year ago)
2022-05-03 04:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bible Quote Regex
PCRE2 (PHP >=7.3)
Regex that matches any bible quote that is more specific than a singular book.
Submitted by
anonymous
-
a year ago
2022-05-03 17:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IPV4 Grabber
PCRE2 (PHP >=7.3)
This expression grabs any IPV4 address from any text, any time, anywhere. Hopefully.
Submitted by
Ricardo Chica
-
a year ago
2022-05-03 18:22
(Last modified a year ago)
2022-05-03 18:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
INI values
PCRE2 (PHP >=7.3)
not done yet
Submitted by
anonymous
-
a year ago
2022-05-04 05:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
basic gitlab rule for job to not be runned automaticaly for specific branch
PCRE (PHP <7.3)
rules: if: '$CI_COMMIT_BRANCH !~ /^release|hotfix|$CI_DEFAULT_BRANCH\/.*$/' when: manual allow_failure: true when: always `
Submitted by
Kramtoske
-
a year ago
2022-05-04 08:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
RPCS3 Compatibility list parser (Playable only)
PCRE2 (PHP >=7.3)
Parse game's titles from list. Just copy/paste data from the table and get parsed results from match information. Example: NPEB00128 Digital (PSN)Zombie Apocalypse Playable...
Submitted by
tekknoid
-
a year ago
2022-05-05 03:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Time in hh:mm:ss
PCRE (PHP <7.3)
19h32min16s
Submitted by
anonymous
-
a year ago
2022-05-05 22:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
case insensitive uuidV4
PCRE2 (PHP >=7.3)
detect uuid V4 in string case insensitive. matches: 1d95e013-3c09-4883-88f1-4337ba0b8ddc AND 1D95E013-3C09-4883-88F1-4337BA0B8DDC
Submitted by
ywk
-
a year ago
2022-05-06 08:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
extract query and path params - incomplete
PCRE2 (PHP >=7.3)
Working on a regex to extract path and query params
Submitted by
anonymous
-
a year ago
2022-05-06 17:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Postfix
PCRE2 (PHP >=7.3)
Add DR to end of line
Submitted by
anonymous
-
a year ago
2022-05-09 07:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
i18next Resource key
PCRE2 (PHP >=7.3)
This regex matches i18next library resource keys
Submitted by
anonymous
-
a year ago
2022-05-10 04:38
(Last modified a year ago)
2022-05-10 04:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
10digit mobile number with no spaces and special characters
PCRE2 (PHP >=7.3)
Match a single character present in the list below [6-9] 6-9 matches a single character in the range between 6 (index 54) and 9 (index 57) (case sensitive) Match a single character present in the list below [0-9] {9} matches the previous token exactly 9 times 0-9 matches a single character in the ra...
Submitted by
anonymous
-
a year ago
2022-05-10 07:15
1
...
516
517
518
519
520
521
522
...
568
Checks for file ending
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^.
*
\.
(
txt
|
ZIP
)
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
RAussi
-
7 years ago
2016-09-26 08:33