Nice Regex

Well I love it:

egrep -i "[,]? (p[ar]{0,1,2}t)?[ ]?[(]?[i0-9]+[)]?[ ]*$" file

Comments are closed.