String manipulationdoubt

I have the input like

1A-2A

I need output has

1-2

We need to remove letters

HI @Arya_Squares

System.Text.RegularExpressions.Regex.Replace(YourString,"[A-Z]","").Tostring

Regards
Gokul

1 Like

image

Hi @Arya_Squares,

If A is everywhere then you can replace it like below

image

("1A-2A").Replace("A",Nothing)

Thanks,
Rajkumar

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.