Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2023-05-02 20:06
Flavor·Python

r"
^download\/(?P<doc>[^\/]+)[|\/]{0,1}(?P<mode>[\w]{0,})[|\/]{0,1}$
"
gm
Open regex in editor

Description

URL Pattern Django

Submitted by Fernando Olivera