regex change

check for none empty no whitespace regex