grep regex code example
Example 1: whitespace regex
\s is the regex character for whitespace. It matches spaces, new lines, carriage returns, and tabs.
Example 2: grep excep
# grep anything inside any file
grep -R "yourWord" ./path
\s is the regex character for whitespace. It matches spaces, new lines, carriage returns, and tabs.
# grep anything inside any file
grep -R "yourWord" ./path