Extract String within single quotation

Select ‘DC8’ and click on New
Hi I need to extract the portion within the single inverted ’ '. Can anyone help me with the regex for it. I am new in Uipath

Thanks
Ankita

@Ankita_Biswas

Check as below

Hope this helps you

Thanks

1 Like

How can i extract it and assign it to a variable?

Using matches activitiy and using the regex pattern as suggested by @Srini84. Extract the data from the string and store in a
collection variable s1

then use s1.ElementAt(0).ToString to get the value and u can assign it to a variable

Hope it helps you

Regards

Nived N :robot:

Happy Automation :relaxed::relaxed::relaxed:

1 Like

Thank you it worked

2 Likes

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