Hey guys I've 1 question. This code works:
if(document.form.filed.value.match( /Your text/ig))

but if I want to add << http://www >> e.g
if(document.form.filed.value.match( / http://www /ig))

it doesn't work is it because of the 'slash'?
kohkindachi Reviewed by kohkindachi on . Regarding javsacript match() Hey guys I've 1 question. This code works: if(document.form.filed.value.match( /Your text/ig)) but if I want to add << http://www >> e.g if(document.form.filed.value.match( / http://www /ig)) it doesn't work :( is it because of the 'slash'? Rating: 5