Top "Whitespace" questions

Whitespace, or white space, is often used to refer to any combination of spaces, tabs, and new lines which create blank space between text, either horizontally or vertically.

Strip whitespace from jsp output

How can I strip out extra whitespace from jsp pages' output? Is there a switch I can flip on my …

jsp tomcat whitespace
Add only non-whitespace changes

I have my text editor to automatically trim trailing whitespace upon saving a file, and I am contributing to an …

git whitespace
How to match whitespace, carriage return and line feed using regular expression in PHP?

I am working with a regular expression in PHP. I have the following string: <img src="/files/admin/hotel_…

php html regex whitespace carriage-return
Joining two strings with a comma and space between them

I have been given the two strings "str1" and "str2" and I need to join them into a single string. …

javascript string whitespace string-concatenation comma
Regex to match more than 2 white spaces but not new line

I want to replace all more than 2 white spaces in a string but not new lines, I have this regex: \…

c# .net regex newline whitespace
Remove whitespace from string in Objective-C

I have a couple of strings. Some have a whitespace in the beginning and some not. I want to check …

objective-c string whitespace
Remove the Extra Whitespace Surrounding Iframes?

I am using iframes in my page, and have stumbled across a weird issue. I set the iframe css like …

html css iframe whitespace removing-whitespace
How can I convert tabs to spaces and vice versa in an existing file

I cannot figure out how to do this for the life of me apart from doing a find-replace on 4 spaces …

visual-studio-code whitespace
Oracle trim whitespace on the inside of a string

I am storing phone numbers as VARCHAR2 in my system to allow for users to input '+' characters infront …

sql oracle whitespace removing-whitespace