Use regex for checking expected values

Expand the of the current method of using string literals to check the curl page results to also allow using bash regular expressions.