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



Check as below

Hope this helps you


1 Like

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

Using matches activitiy and using the regex pattern as suggested by @ksrinu070184. 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


Nived N :robot:

Happy Automation :relaxed::relaxed::relaxed:

1 Like

Thank you it worked


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