I need to Remove all characters except "|" and whitespace from a string. I don't understand how to do this in Go. Please help.
The string could look like this:
|| ||| |||| || ||||| ||| || |||| hello |
and I need it to return this:
|| ||| |||| || ||||| ||| || |||| |
Thanks in advance!