in reply to Print line from file only once even if occurrence of pattern is more than once in the line

G'day jayu_rao,

You're going to have to show us some of this code you've written to get any sort of reasonable answer. The problem could be a major design flaw, a typo in a regex, or something else: we don't know.

[See guidelines: How do I post a question effectively?]

-- Ken

  • Comment on Re: Print line from file only once even if occurrence of pattern is more than once in the line