Regular Expressions 101

Community Patterns

Yell Regex Version 2

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