I have auto-generated text that contains brackets not related to ascii. For instance:
<div> Some text (these are the non-ascii encoded parenthesis). <div>
I want to get rid of parentheses. I have the following, which I use elsewhere to clear some html elements, but I can't get close to working to remove the actual text:
jQuery(document).ready(function(){jQuery(".block").find("p").remove()});
I found some ideas, but they relate to plain text. Getting rid of the parenthesis is a problem since I'm not sure how to encode the parentheses so that jQuery understands it.
Any ideas?
source share