replace | with invalid for C# simbol