Regular Expressions 101

Community Patterns

poker stars header

1

Regular Expression
Python

r"
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

no description available

Submitted by anonymous - 8 years ago