Regular Expressions 101

Community Patterns

Photos18 Url Matcher

0

Regular Expression
Python

r"
^https?:\/\/(www\.)?photos18\.com\/?((sort\/[\w\d]+)|(v\/[\w\d]+)|(cat\/\d)|)(\?.*)?
"
gm

Description

A regex to match photos18 urls

Submitted by anonymous - a year ago