Regular Expressions 101

Library entries

Wrap long string to spec length

Vote

28

Regular Expression
pcre

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

Description

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