I have the string below:
texto = "Meu texto"
I would like to make a replace in the word "My" and return it in bold. The result would look like this:
My text
However, replace is case sensitive, that is, if I use replace(texto,"meu","<b>meu</b>")
nothing happens because of the capital 'M'.
Is there any way I can do a classic ASP replace with VBScript ignoring uppercase or lowercase letters? Or is it easier to do this in JavaScript or jQuery?
Note: I could convert everything to lowercase, but I want the return to keep the uppercase letters of the string.