Dear All,
In my RegEx i have to match and print a statement from multiple files. And that statement may exist several time in those files but I want to match only the first matching line and ignoring the rest of all.
Is there any flag which i can use with my regexp which can tell to match print only first line.
In my RegEx i have to match and print a statement from multiple files. And that statement may exist several time in those files but I want to match only the first matching line and ignoring the rest of all.
Is there any flag which i can use with my regexp which can tell to match print only first line.