Regular Expressions are CRAZY powerful... and they take a lot of resources. I always recommend doing a regular string replace if you can.
That being said... I have a college degree centered around regular expressions and PCRE (Biomedical Informatics)... any help you need, I will gladly give you. I have not found ANY good guides online.