Hi guys, I would really appreciate it if someone could help me with this problem.
Basically, I’m trying to extract the same type of information from a PDF form across a few identical forms. In the blow picture, I’m trying to extract “PS4” as part of the platform type.
I opened the selector viewer and found it had been invalidated despite it working before and me not having changed it at all since. It’s like my selector is unstable.
Can someone please tell me what’s going on? I’ve watched so many selector/pdf extractor videos and I still can’t troubleshoot this issue. What am I doing wrong?
Looking forward to your responses!
Kind regards,
Ben.
Hi Ashwin. Yes I do. Would it be more ideal? In any case I feel like this selector is a really fundamental thing I need to get the hang off. Can you spot what I’m doing wrong?
If possible, I recommend to use Read PDF Text. You will get a string in a variable.
In this case, you can user REGEX (https://regex101.com/) or Substring, to get your needed value.
I looked into regex. How exactly can I implement regex in UiPath? Is the matches activity the best way? @wasea how can I apply the example regex you provided in your reply?
I’ve attached my flow below. I’m able to extract “Platform: PS4” via the matches activity but now I want to trim it and just have the “PS4” bit of the extraction. Can anyone hopefully edit my xaml file and send it back to me? I’ve read on other threads that I need to use the assign activity to identify group 1 in order to extract the “PS4” part, but I’m getting tripped up by the necessary types and processes of the issue.
@Spacecats7, that’s great. I didn’t know bout RegEx until 2 months ago, and now I prefer to use it instead of substring or so.
I am testing the RegEx here: