I have a text containing just HTML entities such as < and   I need to remove this all and get just the text content:
 Hello there<testdata>
So, I need to get Hello there and testdata from this section. Is there any way of using negative lookahead to do this?
I tried the following: /((?!&.+;).)+/ig but this doesnt seem to work very well. So, how can I just extract the required text from there?
 
     
     
     
     
     
    