Skip to content

Instantly share code, notes, and snippets.

@sysnucleus

sysnucleus/flashscoreregex Secret

Created May 10, 2021
Embed
What would you like to do?
WebHarvy RegEx strings for selecting BET365 opening/closing odds from FlashScore
Home opening and closing odds
-----------------------------
bet365[\s\S]*?title="([\d\.]+)
bet365[\s\S]*?<span class="\s*"[^>]*>([^<]*)
Draw opening and closing odds
-----------------------------
bet365[\s\S]*?title="[\d\.]+[\s\S]*?title="([\d\.]+)
bet365[\s\S]*?<span class="[\s\S]*?<span class="\s*"[^>]*>([^<]*)
Away opening and closing odds
-----------------------------
bet365[\s\S]*?title="[\d\.]+[\s\S]*?title="[\d\.]+[\s\S]*?title="([\d\.]+)
bet365[\s\S]*?<span class="[\s\S]*?<span class="[\s\S]*?<span class="\s*"[^>]*>([^<]*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment