Hi All,
Kindly help to remove extra spaces and characters from below attached string (highlighted in red circle).

Any help would be appreciated, Thanks
Hi All,
Kindly help to remove extra spaces and characters from below attached string (highlighted in red circle).

Any help would be appreciated, Thanks
@shekharhimanshu627
Assign inputString = “Entity Type [Entity Name]
”
Assign trimmedString = inputString.Trim()
Assign cleanedString = trimmedString.Replace(“
”, “”)
Message Box to display cleanedString
Use the below regex expression in assign activity. @shekharhimanshu627
System.Text.RegularExpressions.Regex.Replace(InputString,"[^a-zA-Z0-9\]\[\s]","").Trim
Regards