regex pattern in accountmanagement