Regex: Any Character Symbol
Regular Expression Any Character:
You can use the any character reserved symbol (
.) to instruct the Regular Expression pattern to match any single character.
Let’s match all lines that start with any character, but the second character must be the lowercase letter
grep '^.a' user.csv
This RegEx pattern
'^.a' is combining the Line Begin Anchor and the match any character symbol
.. RegEx allows you to mix and match the special syntax to create highly specific patterns.
grep '.firstname.lastname@example.org' user.csv
The match any character symbol provides great flexibility for all patterns.