How to replace empty space with nothing (regex)?

KitKat21

Client
Регистрация
02.05.2017
Сообщения
255
Благодарностей
187
Баллы
43
Hi!

How do I replace an empty space with nothing?
Example: Text and text and text -> Textandtextandtext

Thanks!
 

morpheus93

Client
Регистрация
25.01.2012
Сообщения
1 039
Благодарностей
237
Баллы
63
Try "Text processing - Replace" and leave the field "What to replace" empty and in "What to search" enter a white space. This should do the work :-)

See attached screenshot.
 

Вложения

KitKat21

Client
Регистрация
02.05.2017
Сообщения
255
Благодарностей
187
Баллы
43
@morpheus93 thanks, but that doesn't work. You can't leave the fields empty. (PS: to find an "empty space" you need to enter {-String.Space-} )
 

EtaLasquera

Client
Регистрация
02.01.2017
Сообщения
524
Благодарностей
112
Баллы
43
On c# string.replace(' ','') works. If you plan to with regex, use Regex.Replace(string,@"\s+","")
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)