Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
(.*(!)$)|([^a-z])+(\?)*$
"

Description

This version matches any sentence that sounds like yelling even it doesnt end with ? or !

Submitted by Chaiwa Berian - 9 years ago