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

String.civilize

civilize()

Description

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

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