Getting the values inside the angel brackets from string

If an example looks like this…
< >

I need to get the data only inside the angel <> brackets…any suggestions/solutions???

1 Like


Try below Regular expression to fetch Email IDs.

          outputString = System.Text.RegularExpressions.Regex.Match("inputString","[A-z0-9._%+-]+@[A-z0-9.-]+\.[A-z]+").Value

Where inputString is your input value.

1 Like

Here you go

If your text is in a string variable named str_input

Then in a assign activity use like this

str_output = System.Text.RegularExpressions.Regex.Match(str_input.ToString,”(?<=\<).*(?=\>)”).ToString.Trim

Hope this would help you resolve this

Cheers @suryasuhas527

1 Like

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