Thanks a ton buddy !

On Aug 13, 1:09 pm, Reuben Bartolo <[email protected]> wrote:
> You can make use of the *Group *class. This represents a group within the
> regex pattern.
>
> Every *Match *object will have a *GroupsCollection*. You can check the *
> .Success* method for the current *Group*, when you iterate, and if it
> is successful get the* .Value *.
>
> You can either access a Group by its number ( remember that 0 stands for the
> whole result) or by its name.
>
> More info:
>
> http://msdn.microsoft.com/en-us/library/30wbz966(VS.71).aspx
>
> On Fri, Aug 13, 2010 at 8:23 AM, Gunawan Hadikusumo <
>
> [email protected]> wrote:
> > still have no idea on what you are upto.....
>
> > On Thu, Aug 12, 2010 at 2:51 AM, switchblade <[email protected]> wrote:
>
> >> Hi,
>
> >> i have a regular expression with 20 different groups
>
> >> eg.
>
> >> ^(?<X1>\w{1,6})\|(?<X2>[0-9]{1,6})\|(?<X3>[0-9]{1,6})\| ........ (?
> >> <IgnoreMe>\s|\r|\n|[\r\n]|)
>
> >> is it possible that i can get the individual group expression via C# ?
>
> >> my intent is to isolate a failing group(s) of text out of a particular
> >> line of data.
>
> >> Thanks in advance.
>
> > --
> > johnhadikusumo.blogspot.com
> >www.miniadverts.com.au

Reply via email to