I have several variables between |'s and I want to know if a str_replace could be used or something else to remove the vars.
examples are
|test| testing 123
|testing 123| hello
|hello world| blah
|hi| hi
and I want those in the |'s removed including the |'s
something like $file=str_replace("|S+|", "",$file);