modified regex for name