Regular Expressions 101

Community Patterns

106

trim

ECMAScript (JavaScript)
trim string
Submitted by fp - 10 years ago
4

url

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 9 years ago

Split up text to 40 signs

0

Regular Expression
Java 8

"
(?:(.{1,40})([\s-]|$))|(.{1,40})
"
gm

Description

Loading markdown...
Submitted by anonymous - a year ago