Fixed several issues and changed the regex trim to use cakePHPs' regex trim instead. The custom one was too unstable and didn't play nice with filtered HTML. Added feature to trim at character level or word level. Small change in working: ellipsis is now included in trim count so output will never be more than the trim count.
#2655540: str_word_count disregards alphanumeric and other characters
#2446645: Text trim does not output correct character count on presence of other html tags