Regular Expressions 101

Community Patterns

1...45678...901

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