Question: Regular expression question in Linux: 1. Write a regular expression that you could use with egrep that will find all entries in /usr/share/dict/words that contain
Regular expression question in Linux:
1. Write a regular expression that you could use with egrep that will find all entries in /usr/share/dict/words that contain the sequence aa, ii or uu consecutively. Only write the regular expression. Do not include the egrep command and do not enclose it in single or double quotes.
2. Write a regular expression that you could use with egrep that will find all entries in /usr/share/dict/words that have two consecutive punctuation marks. Only write the regular expression. Do not include the egrep command and do not enclose it in single or double quotes.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
