I'd like to use preg_replace to remove excessive characters.
IE: User enters ARGHHHHHHHHHHHH. When I would like preg_replace to notice that there are more than 5 H's in there, so it shortens it down to ARGHHHHH. I would like this to work with any character, IE: !!!!!!!!!!!!!!!!!!!! or any other little annoying thing a user can put in. Thanks.