//If the character can only be alphabets var pat=/\/[a-z][a-z]\/[a-z][a-z]\//i; //If character can be anything except newline var pat=/\/..\/..\//;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)