How to trim all special charecters?

cool7878

Client
Регистрация
22.02.2013
Сообщения
28
Благодарностей
1
Баллы
3
Hi

I want to trim all these special characters from a variable \ / : * ? " < > |. Now tried the wordprocessing - trim - own characters. But it did not work. Please let me know what is the correct way to put them in that box so that it works.

Thanks
Raj
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
Use replace with regex as a match. You will have to delimit the characters and use a pipe as separator. Don't forget to delimit the last pipe so that regex engine doesn't see it as regex OR. Use nothing as replacement
 

cool7878

Client
Регистрация
22.02.2013
Сообщения
28
Благодарностей
1
Баллы
3
Thank you. this perfectly worked. One more note for other users. * and ? needs to be replaced separability as text as they are used in regular expression.

Raj
 

nitin2003

Client
Регистрация
18.09.2012
Сообщения
195
Благодарностей
11
Баллы
18

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