added url regex and updated