I'm not trying to strip the tags, I want it to make it where preg_replace will not replace anything within a tag or only replace things within a tag (I need to know how to do both). That way, If I replace the letter "A" with the letter "Y", I won't have <y href="http://www.blyh.tld">, when it should still be <a href="http://www.blah.tld">. Stripping it out completely won't help much.