I expect this to work, though, since \s includes \n and \r , it may be confusing. Or I believe it is possible (but really unlikely) that the flavor of the regular expressions that Visual Web Developer uses (I don't have a copy) does not have the \s character class. Try the following:
[ \f\t\v]$
... that searches at the end of a line for a space, form, tab, or vertical tab.
If you search and replace and want to get rid of all the spaces at the end of the line, then as RageZ indicates , you βI want to include the greedy quantifier ( + meansβ one or more β) so that you can capture as much as you can:
[ \f\t\v]+$
Tj crowder
source share