I don't like basic regular expression because it's too limited
you should try out awk or nawk, it's a coooool gadget.
awk and nawk both support extended RE, you can write
very sophisticated text processing programs with them.
This post has been archived. It cannot be replied.