Regular Expressions 101

Library entries

JavaScript trim string

Vote

2

Regular Expression
javascript

/
^\s*(.*?)\s*$
/
gm

Description

Loading markdown...
Submitted by https://github.com/naomik - 7 years ago