@whitestar Are there any there any other Input Formats you have, or all the Other Input Formats are in the Same way?Like Starting will always be “MR/mr” or “Ms/ms” ?
Starting will not always be “Mr/mr” or “mrs/Mrs” or “ms/ms” it could be the address as well but mostly it will come with “Mr/mr” or “mrs/Mrs” or “ms/ms” i only want to to replace those with empty string
String = “UiPath,RPA,Enterprise,Ms”
i want to replace those with empty string. I can do with .replace 1 by 1 but i want to know how to do in 1 regex syntax.
Thanks
Hi
This expression will help you resolve this Stroutput = System.Text.RegularExpressions.Regex.Replace(strinput.ToString.ToUpper,”(MR|MS|MRS|,)”,””).ToString.Trim