I'm trying to style a specific word in a string by wrapping it in a <strong></strong> tag. The problem is that This word will change all the time, so I was thinking of getting them to wrap the particular word in brackets (in an input text field), and then replace the opening and closing brackets with the opening and closing strong tags.
Eg:
"Who said (romance) was dead?"
would become
"Who said <strong>romance</strong> was dead?"
What would be the best way to go about this?
