Moved regex pattern to reusable variable