Fix regex pattern to split