Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
Winamax Poker.*\((?P<id>\d+)\).* Player : (?P<player>\w+).* Registered players : (?P<playersNb>\d+).* Prizepool : (?P<prizepool>[0-9]*\.[0-9]+|[0-9]+).* Tournament started (?P<startTime>(?:\d|[A-Z]|\/|\:| )*).* You played (?P<timePlayed>(?:\d|\w| )*) You finished in.*(?P<finalPlace>\d).* You won (?P<amountWon>[0-9]*\.[0-9]+|[0-9]+)
"
gms

Description

no description available

Submitted by anonymous - 5 years ago