Regular Expressions 101

Sponsors

Library entries

0
pcre2

Invoice nr

regexp search in mongo db by nr
Submitted by Tivadar - 18 minutes ago
0
pcre2

MySQL DATETIME

MySQL DATETIME
Submitted by anonymous - a day ago
0
pcre2

Split Http(s) Response

Split Http(s) Response
Submitted by anonymous - 2 days ago
0
pcre2

Vivaldi

Vivaldi
Submitted by anonymous - 3 days ago
0
pcre2

TXN ID

VIL ID
Submitted by anonymous - 5 days ago
0
pcre2

Slurs

Not made with ill intentions.
Submitted by anonymous - 7 days ago
0
java

partnkey value

Extract value partn_key
Submitted by anonymous - 7 days ago

Wrap long string to spec length

Vote

27

Regular Expression
pcre

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

Description

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