78
rated 0 times
[
80]
[
2]
/ answers: 1 / hits: 21556
/ 6 Years ago, tue, march 6, 2018, 12:00:00
Say, I have a text stored as:
var val1 = 'l-oreal';
I want to match val1
such that, it reads val1
and ignores hyphen (dash) in it. I want a regex that ignores special characters in a text. Is that possible?
I don't want to remove special character from the text. I want to ignore it.
More From » regex