Regular Expressions 101

Community Patterns

Community Library Entry

-3

Regular Expression
Python

r"
[sS]/[^/]{1,64}/[^/]{1,64}[^ ]
"

Description

Match regular expressions substitutions, I personally use this to perform my validate if it is a substitution, then call re.sub() on it.

Submitted by Zarthus - 10 years ago