Update webservice.py

Improved regex search