I have a regex pattern, ".+\s.{2}\s.{3}\s.{3}\s.{2}\s.+\d{4}\s". I always want to split the text on the last space \s, but keep the string which matches the pattern together. How to do it?
Thank you in advance,
Mark
I have a regex pattern, ".+\s.{2}\s.{3}\s.{3}\s.{2}\s.+\d{4}\s". I always want to split the text on the last space \s, but keep the string which matches the pattern together. How to do it?
Thank you in advance,
Mark