Page 1 of 1

[Solved] Remove space at beginning/end of cell

Posted: Thu Mar 13, 2025 10:16 pm
by THEBookMan
FIND & REPLACE
I want to find the space at the end of a cell and replace with "".
I want to find the space at the beginning of a cell and replace with "".

Have trioed several things like ;
^"", ^[], etc, but to no avail.

Any ideas ?

Thnak you,
⌡im [the BookMan]

Re: Find space at beginning/end of cell

Posted: Thu Mar 13, 2025 10:28 pm
by RoryOF
Beginning of cell, Find ^<space> where <space> is a press of spacebar. Replace "" Drop More options and check Regular expressions

End of cell, Find <space>$, Replace "", set More Options as above.

Re: Find space at beginning/end of cell

Posted: Fri Mar 14, 2025 10:50 am
by karolus
Hallo
Search for:

Code: Select all

^\s+|\s+$
replace with semantically nothing ( ! no input in replace-field !)

[x] regular Expression

replace all