fpoyavo
asked on
REPLACE 5
Hi Experts,
I need to replace all occurances of hyphen and space BETWEEN CHARACTERS (not digits) ONLY within text string with nothing.
example: ABC- EFH becomes ABCEFH
Thank you.
I need to replace all occurances of hyphen and space BETWEEN CHARACTERS (not digits) ONLY within text string with nothing.
example: ABC- EFH becomes ABCEFH
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
fpoyavo .. What was wrong with my answer?
string str = "ABC- EFH- XYZ";
Console.WriteLine(str.Repl