if (TEXT.match(/b<VARIABLE>b/i) != null) {
alert(true);
}
For instance, I have a domain registration form and we know there are no spaces allowed in domain names, so:
if (TEXT.match(/b<VARIABLE>b/i) != null) {
alert(true);
}
For instance, I have a domain registration form and we know there are no spaces allowed in domain names, so:
if (TEXT.match(/b b/i) != null) {
alert(true);
}
