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.
Re^4: Parenthesis grouping into regexes.