Regular Expressions 101

Community Patterns

Client URL Isolation

0

Regular Expression
Python

r"
(Client URL: )(([\w\.\-\+]+:)\/{2}(([\w\d\.]+):([\w\d\.]+))?@?(([a-zA-Z0-9\.\-_]+)(?::(\d{1,5}))?))?(\/(?:[a-zA-Z0-9\.\-\/\+\%]+)?)(?:\?([a-zA-Z0-9=%\-_\.\*&;]+))?(?:#([a-zA-Z0-9\-=,&%;\/\\\"'\?]+)?)?
"
gm

Description

Pull the Client URL out of the Asana description field using targeted expression.

Submitted by Al Romano - a year ago