I am using PHP preg_replace()
to find and replace a company name with their logo. However, this also needs to include the registered trademark symbol (R) at them end. So, how can you write a regular expression to match the following?
Company Name®
or Company Name
or Company Name<sup>®</sup>
Thanks in advance!