|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Utility to remove comments in vb.net filesI need a utility to remove all the comments from vb.net files
Thanks in advance neelu wrote:
> I need a utility to remove all the comments from vb.net files write a VB.NET program to do it?> > Thanks in advance should be easy: any line with a single quote as the first character should be removed. and everything AFTER a single quote (even if it's not the first character), provided the quote is not between a pair of double quotes. and the files you send to this program are any *.vb files. IdleBrain wrote:
> Why don't you just do a SEARCH & REPLACE for ' with a space? ;)mmmm... yeah search and replace with a regular expression would probably be quickest... I thought this guy really wanted a program that did, uh, search and replace. oh well. "IdleBrain" <indianmostwan***@yahoo.com> schrieb: Because it's not always that easy:> Why don't you just do a SEARCH & REPLACE for ' with a space? \\\ Bla("Frank's book") Foo() ' This and that. ' /// -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
How to create ForeignKeyConstraint?
How-To Parse this data.. Writing to a MS access db from visual studio .net Retrieving Values from Dynamically Created Controls Changing file name Determine if app fails... The breakpoint will not currently be hit converting minutes into hrs mins Detect Multiple Keystrokes? VS2005 Upgrade Question |
|||||||||||||||||||||||