Regular Expressions 101

Sponsors

Library entries

103
javascript

trim

trim string
Submitted by fp - 9 years ago

js

Vote

1

Regular Expression
javascript

/
\[body:\](.*?)(?=^\[body:\]|\Z)
/
gmi

Description

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