I am asking users to enter path to controller files like
abc/cab
cde/ter/tyu
I am unable to validate it using
var regexString =/^([a-zA-Z\]+)*$/;
Can you please help me correct this. text like abc//text and abc/text/ and abc/text// and /abc/text also should return false. There should be no slash at beginning and ending also.