Regular Expressions 101

Library entries

Trim line ➡︎ ^\s*(.*?)\s*$

Vote

0

Regular Expression
pcre

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

Description

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