Hi there,Well I went away after my last post and tried to learn as much Regex as I could but I now have a need for something else which at the moment really has me stumped.
I would like to be able to match against some output from a database. People have entered either one of two things :
®
or
<sup>®</sup>
I would like (if it's possible?) to be able to match just the version that only has the ® symbol so that I can replace it using PHP so that it becomes <sup>®</sup>. As different people are inputting the data I never know if they are going to be putting in one or the other but I can use PHP after the fact to turn one into the other and I need them all to end up as <sup>®</sup> so that is why I need to only match the single character entry.
Hope that made sense? Wasn't really too sure of how to word that one.
Thanks for any help on this one.
Best wishes,
Mark