Regular Expressions 101

Community Patterns

Command - description (botfather)

0

Regular Expression
Python

r"
(?P<command>\w{1,})(\s?-\s?(?P<description>.*))?
"
gm

Description

no description available

Submitted by anonymous - 4 years ago