Javascript replace text in html case sensitivity
Hi,
I am replacing text in html with the code
"$(this).html($(this).html().replace(/mytext/g,"New Text");
it is replacing only case sensitive string. So how can I make it case insensitive.
Please help me out???