Get specific text from a notepad

Hi all,

How can I extract specific data from a Notepad? It’s a “.cs” file opened using notepad.
For eg:
How can I get the text “PRODUCT_29” from below line.
div class=“PRODOUCT_MATERIAL” style=“visibility: hidden;” PRODUCT_29 div

It’s a long notepad file.
PRODOUCT_MATERIAL is always static but “PRODUCT_29” will be different.
I have tried to use the Get text activity. But I am unable to select the specific text.


Hi @Christin_John, you will have to read the complete file using Get Text and then use Regular Expressions to get your specific text.

Check these: