Pattern method: Remove delimiters, since HTML5 implementations don't include those either.