Hi All,
I am wanting to search a string for the occurence of an expression, and then change the expression in the string.
I need to search for HTML entities, such as Beta(&beta
, Trademark(&trade
....etc
Once one has been found, I want to replace the beginning "&" with say "??" or something else I chose.
So, I need a function to search for say (&beta
and return (??beta
.
I know this uses regular expressions, but I am not to good on the syntax.
Please can anyone help.
Many Thanks.
I am wanting to search a string for the occurence of an expression, and then change the expression in the string.
I need to search for HTML entities, such as Beta(&beta
Once one has been found, I want to replace the beginning "&" with say "??" or something else I chose.
So, I need a function to search for say (&beta
I know this uses regular expressions, but I am not to good on the syntax.
Please can anyone help.
Many Thanks.