How to solve this Regex

Hi,

I need to create regex for both workers allotment in single workflow with seperate sequence