Afternoon all,
I've got this expression:
\[(?<Date>\S+)\s{1}(?<Time>\S+)\]\s{1}(?<ToonName>.*)\s{1}\-\>\s{1}(?<MobName>.*) : (?<Ability>.*)\n
with this sample data:
01) [01/23/05 00:04:00] Foxfire -> Platinum Boulder Golem
02) [01/23/05 00:04:02] Foxfire -> Platinum Boulder Golem
03) [01/23/05 00:04:04] Foxfire -> Platinum Boulder Golem
04) [01/23/05 00:04:06] Foxfire -> Platinum Boulder Golem
05) [01/23/05 00:04:48] Foxfire -> Foxfire : Gift of Speed III [ Casting... ]
06) [01/23/05 00:04:51] Foxfire -> Foxfire : Gift of Speed III
07) [01/23/05 00:04:55] Foxfire -> Foxfire : Gift of Health III [ Casting... ]
08) [01/23/05 00:04:58] Foxfire -> Foxfire : Gift of Health III
09) [01/23/05 00:12:07] Foxfire -> Foxfire : Multicast
10) [01/23/05 00:13:47] Foxfire -> Foxfire : Recall [ Casting... ]
11) [01/23/05 00:14:00] Foxfire -> Foxfire : Recall
12) [01/23/05 00:18:17] Foxfire -> Foxfire : Recall [ Casting... ]
Problem is the expression is matching line 5 though 11.
what I'm needing the expression to do is NOT match any line with the "[ casting... ]" in it.
I know this can be done with a back reference.. but I can't seem to find any information
on the NET that can explane HOW to use a back reference (in a way that I can understand..hehe)
I'm wondering then if anyone can help with this expession and more to the point either
explain how the back reference works, or point me to some good resources?
The PogoWolf
I've got this expression:
\[(?<Date>\S+)\s{1}(?<Time>\S+)\]\s{1}(?<ToonName>.*)\s{1}\-\>\s{1}(?<MobName>.*) : (?<Ability>.*)\n
with this sample data:
01) [01/23/05 00:04:00] Foxfire -> Platinum Boulder Golem
02) [01/23/05 00:04:02] Foxfire -> Platinum Boulder Golem
03) [01/23/05 00:04:04] Foxfire -> Platinum Boulder Golem
04) [01/23/05 00:04:06] Foxfire -> Platinum Boulder Golem
05) [01/23/05 00:04:48] Foxfire -> Foxfire : Gift of Speed III [ Casting... ]
06) [01/23/05 00:04:51] Foxfire -> Foxfire : Gift of Speed III
07) [01/23/05 00:04:55] Foxfire -> Foxfire : Gift of Health III [ Casting... ]
08) [01/23/05 00:04:58] Foxfire -> Foxfire : Gift of Health III
09) [01/23/05 00:12:07] Foxfire -> Foxfire : Multicast
10) [01/23/05 00:13:47] Foxfire -> Foxfire : Recall [ Casting... ]
11) [01/23/05 00:14:00] Foxfire -> Foxfire : Recall
12) [01/23/05 00:18:17] Foxfire -> Foxfire : Recall [ Casting... ]
Problem is the expression is matching line 5 though 11.
what I'm needing the expression to do is NOT match any line with the "[ casting... ]" in it.
I know this can be done with a back reference.. but I can't seem to find any information
on the NET that can explane HOW to use a back reference (in a way that I can understand..hehe)
I'm wondering then if anyone can help with this expession and more to the point either
explain how the back reference works, or point me to some good resources?
The PogoWolf