Advanced Regular Expressions in Grep Command with 10 Examples – Part II. In our previous regular expression part 1 article, we reviewed basic reg-ex with practical examples.
But we can do much more with the regular expressions. You can often accomplish complex tasks with a single regular expression instead of writing several lines of codes.