Hi, I'm fairly new to regular expressions and I'm having troulbe making a regular expression that returns any substring that does not contain 2 other strings.
Basicaly, I'm 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 doesn't work.
Any clue on how to do this.
Basicaly, I'm 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 doesn't work.
Any clue on how to do this.