How to get sub-string from string-data, where sub-string is dynamic each time when it loads on a webpage?

Hi Team,

I have a web-page, where-in a string data exists. My requirement is to get the particular sub-string from the string data and to store it into a clipboard.

For example, string data is β€œThe flood map for the selected area is number 06037C1620F”. Here, I need to get the sub-string β€œ06037C1620F” into the clipboard for future use.

I am able to get the sub-string for the first iteration, but the sub-string value is different for different iterations. So, while going for the second iteration, I am unable to get the required sub-string since it is searching for the same sub-string (06037C1620F) which was existing in first iteration.

Let me know how to get the dynamic strings data to clipboard.

Any help would be appreciable.

Thanks in advance.

@chirag, In this case if the pattern of the string is similar then go with Regex

References:

  1. How to use regular expressions in UiPath - #7 by andraciorici
  2. Reading text between two lines - #2 by vvaidya
  3. Find a word which appears multiple time in a string - #13 by Chand
  4. Get dollar amounts from a word document or pdf - #6 by Dominic

Note : We have already readymade solutions for many questions. You can also find them here Solved

Regards,
Dominic :slight_smile: