Which regular expression symbol for white spaces (all types)

jcknick

Client
Регистрация
10.05.2013
Сообщения
154
Благодарностей
9
Баллы
18
Hello guys,

which regular expression should I use to replace ALL types of white spaces in a grabbed text. By all I mean spaces, line breaks, paragraph - whichever it can be.

Additionally, I would appreciate it if you could explain to me in more detail these:

\s
\f
\n
\r
\t
\v

Thank you in advance and happy automating!
 

lupo

Client
Регистрация
28.05.2012
Сообщения
72
Благодарностей
32
Баллы
18
Good resource explaining very well the Regexp Magic :-) you can find here:

JavaScript RegExp Object

and also the Zenno Wiki here but the first link is more detailed.
 

jcknick

Client
Регистрация
10.05.2013
Сообщения
154
Благодарностей
9
Баллы
18
JavaScript RegExp Object

This one is superb. The one on zennoposter site is pretty good but could be more detailed.

Kudos!!!
 

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