I have a question on pattern matching. Assume I have a line like this consisting of header field(via) and values(IPaddress) repeated like below
via: 192.168.6.100; via:192.168.6.101; via: 203.290.89.90; ......so on
I would like to know how many via: header field occur and to get each via header field value. I want to know how to loop through each via header field to extract the value by pattern matching expressions.
Thanks in advance,
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more....