Update regex to match http and https entities