>perl -lne'/^[[:xdigit:]]{4}(?:\.[[:xdigit:]]{4}){2}$/&&print' yourfile
>From the original question, I believe that the desired target is 0008.0e39.ad80 and lines like it in the file. From your regex, I understand the anchors, and the quantifiers, and the clustering without capturing. Could you please elaborate on the nested character-class brackets and colon use, or point me in the right direction; I am not familiar with that notation. Thanks, Nathanael -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]