Community Patterns

Community Library Entry

0

Regular Expression
Created·2023-04-18 12:50
Flavor·Python

r"
^\s*(.+?)\s*$
"
Open regex in editor

Description

trimming whitespaces from the beginning and from the end

Submitted by anonymous