LOL - Laugh Out Loud
DWM - Dont Worry
So basically, the format should be 3 capital letters, followed by a space, hash, space, and then some other words. So I grab the input
var phase = $("input[name='phase']").val();
Then I need to try and get the regex expression
if(isValidExpression){
}
function isValidExpression(phase) {
var pattern = new RegExp(??);
return pattern.test(phase);
}
What would the regex for this format be?
Cheers
Nick

New Topic/Question
Reply



MultiQuote



|