tags:

views:

45

answers:

0

Here is the string

$5 + $0.50 Sit & Go (185456218), Table 4 - 50/100 - No Limit Hold'em - Logged In As xxxxxx

Right now I have the following REGEX to target the above

(Cap\sPot\sLimit|Cap\sNo\sLimit|Pot\sLimit|No\sLimit|Limit)\s(Hold'em|Omaha\sH/L|Omaha\sHi|Stud\sH/L|Stud\sHi|Razz)(\s(\d+\sof\s\d+))?\s-\sLogged\sIn\sAs

Obviously it will target everything with "No Limit Hold'em - Logged In As" in the title

Well I need a regex to target a very similar title and place it into a seperate group, here is the title

$6 + $0.50 KO Sit & Go (185445795), Table 2 - 800/1600 Ante 200 - No Limit Hold'em - Logged In As xxxxxx

I want the expression to grab the "KO" part and the "No Limit Hold'em - Logged In As" and ignore everything else.

Any help is appreciated.

Thanks