I have this URL where content strings are separated on the webpage. I need to check where on the same line those two strings are present or not. Say, on this page I have API Operational strings present. I am not sure about how many spaces are present in between these two. Also, this Operation string is component-status in span class of that HTML page which I don't know how we can handle from shell. 
check_http plugin failing to check strings separated with multiple spaces in between
nagios