Regular expressions are very useful and geeky. I am not an expert with regexp. Here I’m slowly going to collect a list of regular expressions, tools and examples that I use myself from time to time. I’m hoping to learn more in the process.
|^foo||match beginning||ls -la|grep ^d||a list of directories|
|foo$||match end||find .|grep \.gif$||list al files ending in .gif|