Replace of multiple strings

Hi
str=abcd[123456]
how to trim/remove/replace “[” and “]” in a single syntax

1 Like

@KarthikBallary You can use str.Replace(“[”,“”).Replace(“]”,“”)

Hi @KarthikBallary

Try these to be your reference in your issue!

cheers :smiley:

Happy learning :smiley:

1 Like

str = asndndnd abcdef@gmail.com freeddkfs
how to fetch only the mail id

1 Like

Hi @KarthikBallary

Here followed this forum also it has example on it.Hope this might help you!

cheers :smiley:

Happy learning :smiley:

5 Likes

Check ‘LABEL’: Attribute not supported by the current UiNode.
i am getting this error. If I use click option it is again un checking

You can use this Regex pattern in Matches activity → “\w+@\w+.\w+”

If I use regex activity
System.Linq.Enumerable+d__97`1[System.Text.RegularExpressions.Match]
I am getting this
though output.toString is used

pattern used :“[a-zA-Z0-9-_.]+@[a-zA-Z.]+”

if the str= k Karthik(kn@yahoo.com)

I think pattern is wrong pls suggest

I told you use this pattern above

not working

Can you screenshot your Matches activity property?

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