|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re^2: Tiny little paragraph wrapperby GrandFather (Cardinal) |
| on May 31, 2005 at 03:37 UTC ( #461914=note: print w/ replies, xml ) | Need Help?? |
|
Try this regex s/(.{5,12}\s+)/$1\n/g. On the sample text it gives: :-)
In Section
Snippets Section
|
|
||||||||||||||||||||