Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(.{60,80})(\s)
/
g

Description

Adds a new line at specified length and adjusts to the nearest space.

Submitted by anonymous - 6 years ago