i have a string where each character(can be an alphabet,digit,slash,dot etc.,) is followed by a null charater ..i want to remove the null character and retain the rest of string ...the string on stdout appers like this "P A T C H I N S T " i thought its a space and used a reg ex but i didnot work ...can u pls give a regex..