Regular Expressions 101

Photos18 Url Matcher

Open Workspace
  • Python
  • Match
0

Regular Expression

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

Description

A regex to match photos18 urls

Submitted by Anonymous