if boundary values are dynamic

if the boundary values are dynamic values then how to capture?
Ex:
owner(abc=453xyz=3543)Borrower(abc=58xyz=22))

I want ot capture the xyz values in both the expressions then how to do it?