added regex to remove unwanted characters