Updated the regex for the name pattern

issue: A24Group/Triage#4998
Merge pull request #229 from A24Group/regex-update-4998

Updated the regex for the name pattern