Simplify regex to not hang the browser