As i didn't get any reply, i am adding more details to this problem with screen shot....
This is how i am writing the expression:
xdUtil:Match(string(Zip), ..\Pattern)
where Zip is current field, and Pattern is field from where i am getting \d\d\d\d\d but intead of taking value, it consider \Pattern as string. THis is where i am not able to figure out how to get value from another field for pattern so that it can be executed on client while running on browser. This pattern is coming from configuration file