corrected/simplified url regex