Updated regex pattern