QuickSnip LogoA light blue logo with a thunderbolt in bracketsQuickSnip

Whitespace Trimmer

Matches leading and/or trailing whitespace.

  • trim

Code

^\s+|\s+$


-> Usage:
(don't account for the quotation marks, it just to visualize whitespace)
"Hello World" ✗
" Hello World" ✓
"Hello World " ✓
" Hello World " ✓