Yeah RegExp is a great approach. I omitted that. I think I should add it. Thanks for sharing this.
No problem, Regex is so hard to read, go with whatever works for you. I was lucky enough to find a fairly decently tested Regex match and tweak it to suit my needs.
Thanks again, your post encouraged me to improve my scripts.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.