Hello, please, does any of you knows and can share an easy/clean way to find a substring within a string, but ignoring some specified characters to find it.
I think an example would explain things better:
string: "Hello, -this- is a string"
substring to find: "Hello this"
chars to ignore: "," and "-"
found the substring, result: "Hello, -this"
Using Regex it's not a requirement for me, just added the tag because it feels related.