in reply to Re: Pattern Match is not working
in thread Pattern Match is not working

Hi My expectation is In leap some line ends with OR followed by a number same line in vldb +ends with Order followed by a number. similar to this i have more. <code> $vldbString =~ s/Order/OR/g;
should apply in whole file wherever Order is there. what i am getting is only in the first occurrence.(first line) ignoring in next occurrence sample output

1)system Places Order, map. 213, OR 1 FOUND IN VLDB ==

2)option and Opticians (option from Section 25(1)) Order, map. 213A, OR 1 NOT FOUND IN VLDB ==

My expectation is second one also should found in vldb. Thanks.