i'm not sure I understand your meaning of this func being more obvious.  I think the regex adds a lot of overhead and is very slow compared to this method.  This is far easier to read than regex, imo.