Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / November 2003

Tip: Looking for answers? Try searching our database.

VS Editor: Searching for white-space character

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David N - 24 Nov 2003 20:20 GMT
Hi All,

Can VS Editor do a Search/Replace on white-space characters such as TAB,
CRLF, i.e.?

Thanks in advance.
Fiona Fung - 28 Nov 2003 19:35 GMT
Hi David,

Yes, VS Editor can do Search/Replace on white-space characters.  You will
need to use regular expressions, and search by the ascii representation of
the character.

To use regular expressions, check the "Use:" checkbox and select "Regular
Expressions" in the Find/Replace dialog boxes.

For example, if I want to replace all tabs (ascii hex code 9) with new
lines (ascii hex code a), I will select use regular expressions and enter
"\x09" into the "Find what:" combo box and "\x0a" into the "Replace with:"
combo box.

Regards,
Fiona

--------------------------------------------------------------------
This reply is provided AS IS, without warranty (express or implied).

--------------------
>From: " David N" <dq.ninh@netiq.com>
>Subject: VS Editor: Searching for white-space character
[quoted text clipped - 8 lines]
>NNTP-Posting-Host: pat-50.bel.netiq.com 65.219.170.50
>Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.
phx.gbl
>Xref: cpmsftngxa07.phx.gbl microsoft.public.vstudio.general:4846
>X-Tomcat-NG: microsoft.public.vstudio.general
[quoted text clipped - 5 lines]
>
>Thanks in advance.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.