Hi Team how to remove the Including brackets and inside the value

Hi Team,

my string value is str=“Parking Fees (Monthly)”

i need output as output=“Parking Fees”

please help me on these

note these values are changed dynamically

Hi @Mada_Sai_Krishna

[A-Z|a-z]+.*(?=\s\([A-Z|a-z]*)

@Mada_Sai_Krishna,

Just use String.Split function like this.

stringOutput = stringVariable.Split("(")(0)

Thanks,
Ashok :slight_smile:

grafik

Please mark later this and also your other answered topics as solution
Forum FAQ - How to mark a post as a solution - News / Tutorials - UiPath Community Forum