Regular Expressions 101

Library entries

Wrap long string to spec length

Vote

27

Regular Expression
pcre

/
(\b.{1,40})(?:\s+|\n|$)
/
iug

Description

Loading markdown...
Submitted by fullpipe - 8 years ago