Want a text before particular string

hi All,

I am reading a form from webpage and storing the data in a string.
i want the data which is before the particular string. eg: Consider the string as " ) Uipath.com (Name of issuer) " and i want only Uipath.com in result .

Basically i always a a text before " (Name of issuer) " after " ) "

Please help

Hi,

Can you try the following expression?

System.Text.RegularExpressions.Regex.Match(yourString,"(?<=\)).+?(?=\(.+?\))").Value

Regards,

Hey, @pthakre

you can try this pattern (?<=)).*(?=()
cheers