Version: v0.6.0 - Beta.  We welcome contributors & feedback.  THanks!

String.civilize

civilize()

Description

Fix obnoxious patterns in a user-submitted string, by applying these filters:

$comment = 'AAAAAAAAAH HELP ME FIX THIS!!!!!!!!!';
$comment.civilize();
//= 'Aaah help me fix this!!'