Skip to content

worthyisgold/python-regex-strip-method

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python_RegexStripMethod

Takes a string and does the same thing as the strip() string method using RegEx.

Task Instructions

Write a function that takes a string and does the same thing as the strip() string method.

If no other arguments are passed other than the string to strip, then whitespace characters will be removed from the beginning and end of the string.

Otherwise, the characters specified in the second argument to the function will be removed from the string.

About

Takes a string and does the same thing as the strip() string method using RegEx.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages