Can anyone help me with a javascript regular expression that satisfies the following conditions (it is to validate input in textarea):
- there should be minimum 3 characters
- the first character is always /
- the entire input string shouldnot match the exact string ‘/abc’ and ‘/xyz’ but it can be anyother like /abce or /abct etc…
Ex: the input such as /xyzw, /ab, /abcd, /asdad are accepted and such as /a, /abc etc. are not accepted
Meaning: