I am trying to remove long dashes and normal dashes from a text. I am able to remove the single normal dashes but I have problems with the long ones. I am also able to remove them, too, but then it causes problems with the numbers in the text.
For instance the text: asdasd2 34 56 ——————————————-
I do regex like [\u2014\-] and this removes all the long and normal dashes, but also removes all the numbers. [\-] removes the normal dash with no problems. Can anyone help with the correct regex? I want to remove all type of dashes in the text, and replace them with nothing. Thanks in advance