in reply to Parenthesis grouping into regexes.

Just curious... What are you filtering IP address from (and I don't mean the file)?

Replies are listed 'Best First'.
Re^2: Parenthesis grouping into regexes.
by aramisf (Beadle) on Apr 26, 2012 at 19:42 UTC
    I'm not sure if I understand the question correctly.

    I have a file, with lots of ip addresses. I filter ip patterns from each line.

    Is that what you asked?

      Hi, aramisf.

      Was just curious about how those IP beasties were embedded in your text, as that might help with extracting them.

      Hope you've found a viable solution within these suggestions.

        Yes, the problem was solved. Thanks!
        The best way suggested to filter an ip address was given by petdance and mbethke.
        My problem wasn't just filtering beautifully, but that indeed improved my seeking.
        The second issue, and maybe the most clarifying tip was suggested by BillKSmith,
        that showed me the path to Regexes grouping Wisdom .

        Actually, I learned a lot.

        Hi Kenosis, Sorry for late reply.
        IP addresses are in a csv file, all comma separated.

        The problem was solved. Thanks for helping! :)