Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

@
(http(s)?://www.)?((flipkart(?:.com)+([^\s\.]+[^\s]*)+[^,.\s]))
@
gm

Description

Since flipkart.com takes https://www. only or starts directly with flipkart.com. this is a regex to match any flipkart url

Submitted by anonymous - 5 years ago