Filtering Pipe (|) character and parentheses