Update TaggingUtil.php

Enable both - (hyphen) and _ (underscore), don't trim these from the beginning or end, do not remove duplicated.