Hi Rakesh,
I think you can use PROC HTTP to extract the tags from a websites and then use any pattern matching technique to find the common pattern and set a status as Success or some flag.
For example:
filename src temp;
proc http
method="GET"
url= "https://www.moneycontrol.com/news/"
out=src;
run;
data rep;
infile src length=len lrecl=32767;
input line $varying32767. len;
line = strip(line);
if len>0;
run;
data _Trials_(drop=recordline record nextpage);
length Status $25 ;
retain Status;
retain recordLine 0; *=1 means this line may contain needed information;
set rep;
if prxmatch('/>Study</i',line) then recordLine=1;
if (recordLine=1) then do; *now get the related information;
if prxmatch('/>Study</i',line) then status='Success';
run;
So in the above fashion you might try to search something inside the parser as per your requirement and if you want to store the number of occurrences of the same word then you can use the call prxnext.
Thanks and Gud luck.