remove tags by just getting the string in between tags, doesn't work if line break in string