could any one show me the best way to extract the info i need from the file below. Basicly the files are hand historys from a poker site and i would like to keep track of how often a player calls checks folds and so on. The file is in html (hoping it posts ok) , or if any one could tell me if it would be better to convert the file to xml (if possible) and extract the data that way?
well here is a short part of the file .....
| Table Name | Hand ID | Game | Stakes |
| Casanova | 10474702-12327 | Holdem Limit | $0.25/$0.50 |
| [Jul 31 16:03:20] : Hand Start. | |||
| [Jul 31 16:03:20] : Seat 1 : davebass has $31.99 | |||
| [Jul 31 16:03:20] : Seat 2 : PoKaBoT has $15.21 | |||
| [Jul 31 16:03:20] : Seat 4 : WC2006 has $9.82 | |||
| [Jul 31 16:03:20] : Seat 6 : xbambamx has $8.02 | |||
| [Jul 31 16:03:20] : Seat 8 : drurylane has $23.05 | |||
| [Jul 31 16:03:20] : Seat 9 : modeselect has $3.34 | |||
| [Jul 31 16:03:20] : xbambamx is the dealer. | |||
| [Jul 31 16:03:21] : drurylane posted small blind. | |||
| [Jul 31 16:03:21] : modeselect posted big blind. | |||
| [Jul 31 16:03:21] : Game [12327] started with 6 players. | |||
| [Jul 31 16:03:21] : Dealing Hole Cards. | |||
| [Jul 31 16:03:21] : Seat 2 : PoKaBoT has 5s Ts | |||
| [Jul 31 16:03:25] : davebass folded. | |||
| [Jul 31 16:03:26] : PoKaBoT folded. | |||
| [Jul 31 16:03:29] : WC2006 called $0.25 | |||
| [Jul 31 16:03:32] : xbambamx folded. | |||
| [Jul 31 16:03:34] : drurylane called $0.13 | |||
| [Jul 31 16:03:35] : modeselect checked. | |||
| [Jul 31 16:03:36] : Dealing flop. | |||
| [Jul 31 16:03:36] : Board cards [As Kc 4d] | |||
| [Jul 31 16:03:38] : drurylane checked. | |||
| [Jul 31 16:03:38] : modeselect checked. | |||
| [Jul 31 16:03:42] : WC2006 checked. | |||
| [Jul 31 16:03:42] : Dealing turn. | |||
| [Jul 31 16:03:42] : Board cards [As Kc 4d 8s] | |||
| [Jul 31 16:03:45] : drurylane bet $0.50 | |||
| [Jul 31 16:03:45] : modeselect folded. | |||
| [Jul 31 16:03:52] : WC2006 called $0.50 and raised $0.50 | |||
| [Jul 31 16:03:53] : drurylane called $0.50 | |||
| [Jul 31 16:03:53] : Dealing river. | |||
| [Jul 31 16:03:53] : Board cards [As Kc 4d 8s Js] | |||
| [Jul 31 16:03:56] : drurylane checked. | |||
| [Jul 31 16:03:57] : WC2006 bet $0.50 | |||
| [Jul 31 16:03:58] : drurylane called $0.50 | |||
| [Jul 31 16:03:58] : Showdown! | |||
| [Jul 31 16:04:00] : Seat 4 : WC2006 has 8d Ac | |||
| [Jul 31 16:04:00] : WC2006 has Two Pair: Aces and 8s | |||
| [Jul 31 16:04:01] : WC2006 wins $3.57 with Two Pair: Aces and 8s | |||
| [Jul 31 16:04:10] : Hand is over. | |||
if i havent been very clear or this file has posted terribly and you would like to help i could always email a file to you to take a look @ ... many thanx
The top part of the file which looks extreemly messy in the post is not all that important its just the hand numbers , the main part is where you can see "Hand Start" .
Replies
Know the answer? Post it — somebody with the same question will find it here.