How To Use Regular Expressions In grep Command

Linux comes with GNU grep, which supports extended regular expressions. GNU grep is the default on all Linux systems. The grep command is used to locate information stored anywhere on your server or workstation. How do I use the grep command with regular expressions on a Linux and Unix-like operating systems?