I have this problem: I'm looking for a string inside file . Syntax is:
grep -E ‘( ^ | [[:space:]] )[A-Z]{2}[[:digit:]]{2}((- | [[:space:]] )[[:alnum:]]{4}) {3} ’ (filename)
When I run this command inside ubuntu I get this error:
Syntax error near unexpected token `('
Why?