Regular Expressions 101

Community Patterns

detect bot

1

Regular Expression
Python

r"
(?:^|\W)(@|)(sweetie|sweetiebot)(?:\W|$)
"
gmi

Description

no description available

Submitted by luckydonald - 8 years ago