Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(?i)(?:^|\W)(credit)(?:$|\W)
"
gm

Description

Detects specific word in a sentence

Submitted by anonymous - 3 years ago (Last modified 3 years ago)