Regular Expressions 101

去除首尾空格

Open Workspace
  • Python
  • Match
0

Regular Expression

r"
^\s+|\s+$
"
gm

Description

去除首尾空格

Submitted by Anonymous