ad******@gmail.com wrote:
Thank that was exactly what i need.
Could you recommend any good sites / tutorials for regexp as its an
area im poor at and would like to improve on?
Sorry, I can't recommend anything specific. I learnt it all a long time
ago from documentation and examples of Unix sed and Perl, which I think
are quite good - but many of their samples are for sed and Perl,
obviously, which doesn't make them a very good resource for somebody
wanting to use regular expressions in .NET. Two nice (and short) primers
are here:
http://www.developer.com/lang/article.php/3330231 and here:
http://www.futureone.com/~sponge/tut...xOverview.html , but
this is really basic stuff. This is a good book, but it also uses Perl as
the programming language around the regular expressions:
http://www.oreilly.com/catalog/regex/
When you are becoming a little better with regexes, it's probably best if
you set yourself some tasks and try to ask about the details - or compare
your results to published resources like
http://www.regexlib.com/
Finally, of course, for the exact detailed definition of regular
expressions in .NET, you should use the MSDN pages:
http://msdn.microsoft.com/library/de...xpressions.asp
Oliver Sturm
--
omnibus ex nihilo ducendis sufficit unum
Spaces inserted to prevent google email destruction:
MSN oliver @ sturmnet.org Jabber sturm @ amessage.de
ICQ 27142619
http://www.sturmnet.org/blog