Replace [] in string

Hi,

from Screen scraping I get such string. ASD TEST. I have to delete this . How to do this?
Text is stored in string variable with name Descriptiong.

Best Regards,
Marek

Hi @Marek_Matuszak

Try with regex with pattern [A-Za-z]+

Use matches activitiy along with this regex pattern for the extraction of the sentence

Hope it helps you

Mark it as solution if you got it

Regards

Nived N :robot:

Happy Automation :relaxed::relaxed::relaxed:

If it’s only 1 specal character:
Save your text to a variable(string) like “myString”

myString.Replace(“”,“”)

If there are many special characters then @NIVED_NAMBIAR solution works best:

1 Like

Hi,

Can you try the following expression?

System.Text.RegularExpressions.Regex.Match(Descriptiong,"[\.\s\w]+").Value

Regards,