Code to extract a specific text from a Get Attribute Variable

Hi @yeshwanth

The error looks like you have copied the above code please remove double quotes and reassign double quotes.

@yeshwanth

The error is showing that you are coped and paste the syntax

you are saying like assign

please check this once

if the same error

then use below code

arr_str=new string() {“year 10”,“Year 12”,“IELTS”,“PG”,“UG”}

Hi Sorry for the late reply,the issue has been solved by using the switch activity and I have used a code in the activity

System.Text.RegularExpressions.Regex.Match(OT2.ToString,“\w+\s+\w+.pdf”).Value

Thanks for the followup
Cheers

@yeshwanth
Happy automation

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