Fixed validation regex bug