Hello,
Is there a way to find a find how many times a certain phrase appears on a webpage? For example finding the number of times the text "My name is " appears on a webpage.
Hello,
Is there a way to find a find how many times a certain phrase appears on a webpage? For example finding the number of times the text "My name is " appears on a webpage.
Hi @Sahil_J_Patel
what i am suggesting is
Save the webpage as .html file
Read the file using Read Text file activity
Then using string manipulations or regex check how many times a word appear in the web pages
a good example of finding the number of words is using below method
System.Text.RegularExpressions.Regex.Matches(input_string,word).Count
here input_string is the string variable which is get from reading the html file and the word is the string variable which stores the data which we need to search for
Hope it helps you
Regards,
Nived N
Happy Automation
Use Screen Scraping—> Full Text on full web page—> check on Ignore Hidden, then try the regex suggested by Nived above, Maybe that works,