...

View Full Version : Resolved regex



BubikolRamios
12-06-2012, 04:53 PM
var patt1=new RegExp("[^A-Z]{0,7}");

document.write(patt1.test("NASKRUH"));--> true

var patt1=new RegExp("[^A-Z]{7}");

document.write(patt1.test("NASKRUH"));--> false !?
EDIT: OK I see it now.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum