in reply to Re: Need help with regex to replace 4th \s with \n in data line
in thread Need help with regex to replace 4th \s with \n in data line

Actually you're right in that thinking. After looking at some of my data, I realized that the 4 space theory is going to blow up on a name like John F. Kennedy Middle School - which I believe is small enough to fit on the label.

I had been working out in my head how to go about checking actual string length and make the decision then, but your solution is excellent! ++!

Some people fall from grace. I prefer a running start...

  • Comment on Re: Re: Need help with regex to replace 4th \s with \n in data line