Top "Strip" questions

"strip" refers to the process of removing (stripping) certain characters from a string.

Remove Characters from URL with htaccess

Hopefully someone can see what I'm doing wrong, but here's the story... My current site URL's are auto-generated by the …

apache .htaccess redirect character strip
Ruby string strip defined characters

In Python, we can use the .strip() method of a string to remove leading or trailing occurrences of chosen characters: &…

ruby string strip
How to strip all blank characters in a string in Erlang?

I know there is string:strip in erlang. But its behaviour is strange for me. A = " \t\n" % two whitespaces, …

string erlang trim strip chomp
Remove junk characters from a utf-8 file in Unix

I'm getting the junk chars (<9f>, <9d>, <9d> etc), CNTRL chars (^Z,^M etc) …

shell unix unicode strip null-character
Strip HTML tags and its contents

I'm using DOM to parse string. I need function that strips span tags and its contents. For example, if I …

php dom tags html strip
Why does strip not remove the leading whitespace?

I tried to strip the leading whitespace of a string: " Bagsværd".strip # => " Bagsværd" I expect it to …

ruby strip ruby-2.0
Strip an ordered sequence of characters from a string

I've realized recently that the strip builtin of Python (and it's children rstrip and lstrip) does not treat the string …

python python-3.x strip
Extract text from HTML while preserving block-level element newlines

Background Most questions about extracting text from HTML (i.e., stripping the tags) use: jQuery( htmlString ).text(); While this abstracts …

javascript jquery html text strip