In this html line:
<b>Cash Out: </b> 2.46x </p> <p> <b>Played: </b>Sat Ene 12 2015 00:20:13
How I could match the 2.46x
value?
This is the expression that I've tried to design:
"(cash.+out.+\s+)([\d\.]+[^\s])"
PS: I know that RegEx motor was not designed to parse Html, but anyways it can be done so please avoid that kind of comments since also I'm using a limited language for this task, VisualBasicScript .
Your regex matches <b>Cash Out: </b> 2.46x </p> <p> <b>Played: </b>Sat Ene 12 2015
, right? I'd suggest narrowing it down to after the closing tag + space.
Try this: cash.+out.+\\s+<\\/\\w+>\\s+([\\d\\.]+x)
The value you are looking for will be in the first submatch.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.