replacing stap tilde delimiters with pipe symbol