Regex format for the whitelist of names

Example for specifying the whitelist entries using regex format