Regular Expressions 101

Library entries

poker stars header

Vote

1

Regular Expression
python

"
PokerStars\s+Hand #(?P<hand_id>\d+):\s+(?P<game_type>[\w' ]+)\s+\(\$?(?P<min_bet>\d+\.?\d+)/\$?(?P<max_bet>\d+\.?\d+)\s*(?P<currency>\w+)?\)\s+-\s+(?P<date>\d+\/\d+\/\d+)\s(?P<time>\d+:\d+:\d+)\s(?P<timezone>[\w\d]+) Table\s'(?P<table_name>[\w ]+)'\s(?P<max_seats>\d)[-\w \(\)]+#?(?P<botton_seat>\d).+
"

Description

Loading markdown...
Submitted by anonymous - 6 years ago