Hi,
I work on a web application. I want to fetch data from the application window using RegEx. Is RegEx work on web application ? If so, can you please show example ? I mean if I have a data on the website page like this:
Remittance Details: Online
Task Cover: PO41991
I want to capture it like this Online and PO41991. How to do it using RegEx?
You could use a Get Text or Get Full Text activity to get the value and then Regex the data picked up. Could you supply a screenshot of the web application with the data you are attempting to get?
@william.coulson sorry cannot share screenshot. The Ui is like this:
Remittance Details: Online
This entire thing is in a text format. If I go GetText then the whole thing shows up like this “Remittance Details: Online”. I only need Online.
Are you saying I can use RegEx after this step ?
Yes, you need to get the data first in order to Regex or Manipulate it. as @jeshwanthaloy has suggested, you can use a split function instead of Regex:
Small Tips: you can import System.Text.RegularExpressions from import panel and then no need to write this namespace everytime you use regex, just type Regex.Match or anything else…