Regular Expressions 101

Library entries

Remove invalid characters and autotrim

Vote

1

Regular Expression
javascript

/
(\n|\r|\t|\0|^\s+|\s+$|[\b])
/
gim

Description

Loading markdown...
Submitted by iamtheauthor - 7 years ago