Re: Regular Expression - More learning
- From: "O-('' Q)" <causesdrowsiness@xxxxxxxxx>
- Date: 5 Dec 2005 04:55:08 -0800
>What I believe you want is:
>
>Regex re = new Regex(@"displaycopy\('([^']*)'\)");
>
>See if you can work out why :)
Wow, I was way off, hehe.
I can see now where I went wrong for sure, given your example. It was
ignoring some of the objects in the string I needed and looking for
only parts of the same. If I am correct in saying so, that is what it
looks like to me now that I see how you formed the syntax.
I should really consider some classes on this or something. I can learn
a lot here, sure, but a class sounds like a fun and interesting
challenge. I should probably pick up a book while I am out today, too.
Can you recommend anything good for beginners?
.
- References:
- Regular Expression - More learning
- From: O-('' Q)
- Re: Regular Expression - More learning
- From: Jon Skeet [C# MVP]
- Regular Expression - More learning
- Prev by Date: Jobs Momentum Technologies Contact ASAP
- Next by Date: Re: Username, local group, IsInRole
- Previous by thread: Re: Regular Expression - More learning
- Next by thread: Re: Regular Expression - More learning
- Index(es):
Relevant Pages
|