Question from the RegEx test

Write a RegEx that has the same behavior as trim (JS) or strip(Python)

Medium

What RegEx has the same behavior as trim (JS) or strip(Python)
(Function that removes whitespaces at the beginning and end of a string)

Author: Nick LAM YEE MANStatus: PublishedQuestion passed 152 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!