Hi,
I'm wanting to create a regular expression which will take a string, and if that string includes symbols ® or™ I want to then wrap those symbols with a <Sup> tag.
e.g. "hello® this is a test™"
outcome = hello <sup>®</sup> this is a test <sup>™</sup>
Can anyone help?
Thanks
I'm wanting to create a regular expression which will take a string, and if that string includes symbols ® or™ I want to then wrap those symbols with a <Sup> tag.
e.g. "hello® this is a test™"
outcome = hello <sup>®</sup> this is a test <sup>™</sup>
Can anyone help?
Thanks