Hi guys
Firstly Happy new year to you soon, can someone please tell me this:
I understand how to write a pattern with single character of regular-expression (eg. [a-zA-Z]), but how to define the pattern with my own varibles?
Eg. I got 3 variables, how to define below string using my own variables?String roadName, city, cityDistance;
<roadName> <cityA> <AB distance> <cityB> [<BC distance> <cityC> […]]
Many Thanks