Hi, Im fairly new to regular expressions and Im having troulbe making a regular expression that returns any substring that does not contain 2 other strings.
Basicaly, Im looking for a regular expression that returns a string that does not contain either "a/" or "e#"
For exemple,
if applying "a/ Hello World", I would get "Hello World", "ello World", "llo World" and so on.
With my week regex skills I managed to find a way to exclude only one of the parts using [^(a/)] but when I try this [^((a/)|(e#))] it doesnt work.
Any clue on how to do this.
Basicaly, Im looking for a regular expression that returns a string that does not contain either "a/" or "e#"
For exemple,
if applying "a/ Hello World", I would get "Hello World", "ello World", "llo World" and so on.
With my week regex skills I managed to find a way to exclude only one of the parts using [^(a/)] but when I try this [^((a/)|(e#))] it doesnt work.
Any clue on how to do this.