-
-
As almost all developpers I saw, several years ago, the usage of regular expression, but I didn't notice how they was usefull until I really had a usage for them.
My case was that I wanted to parse HTML content, and only capture text between tags (like a text representation of an HTML Email.
I found it on the CodeProject, even if I searched other good sources of Regular Expressions like http://www.regexlib.com . This article also had a great explanation on how to use it, in basic and advanced case. It also include a great soft that is really usefull to test regular expressions.
(?<=<(\w+)>).*(?=<\/\1>)
or better than that <(.|\n)*?>
... and my rating was : 5 / 5, great job.
Ref:
http://www.codeproject.com/dotnet/regextutorial.asp
http://www.knowdotnet.com/articles/matchevaluator.html
-f.
-
-
Got a small problem, that I wasn't able to download an ISO from a IIS 6.0 Server.
The problem, but for Microsoft it's more a normal behavior, IIS 6.0 do not serve unknown file type!! So you must specify explicitly a mime type for an unknown extension.
For an ISO (and almost any binary file) : application/octet-stream
Ref.: http://support.microsoft.com/?id=326965
-f.