Hi,
In XLS there is input like “EPVD 1128/2022”:
which in Word shows hidden formating symbols like this:
I need to replace the two hidden formatting symbols
but do not now what character they are.
Any suggestions?
Thx and kind regards,
Vanja
Hi,
In XLS there is input like “EPVD 1128/2022”:
which in Word shows hidden formating symbols like this:
I need to replace the two hidden formatting symbols
but do not now what character they are.
Any suggestions?
Thx and kind regards,
Vanja
You can use regular expressions before pasting the data
System.Text.RegularExpressions.Regex.Replace(str,"[^A-Za-z0-9/]*"," ")
Cheers
Hi @Anil_G
it does:
If I use System.Text.RegularExpressions.Regex.Replace(vcString,“[^A-Za-z0-9/]*”,“”), then it does:
But I need to keep the space:
Kind regards, Vanja
If you need brackets then the expression would be like this
"[^A-Za-z0-9/()]+"
Basically what I am doing here is giving the expression to not consider the values I specified and replace any other value with space
Cheers
Yes, this is it:
Thank you very much!
Vanja
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.