It is currently March 28th, 2024, 7:27 pm

Webparser Blank Space

Get help with creating, editing & fixing problems with skins
User avatar
FreeRaider
Posts: 826
Joined: November 20th, 2012, 11:58 pm

Re: Webparser Blank Space

Post by FreeRaider »

I have improved code, this should work fine:

Code: Select all

RegExp=(?siU)<div class="col-md-3 col-sm-3 headerstats">.*<div class="box box-solid">.*<div class="box-body">.*<h5>.*(\d+.*\d+)\s+</h5>.*<div class="col-md-3 col-sm-3 headerstats">.*<div class="box box-solid">.*<div class="box-body">.*<h5>.*(\d+.*\d+)\s+</h5>
VRArt1
Posts: 10
Joined: August 13th, 2017, 6:32 am

Re: Webparser Blank Space

Post by VRArt1 »

FreeRaider wrote:I have improved code, this should work fine:

Code: Select all

RegExp=(?siU)<div class="col-md-3 col-sm-3 headerstats">.*<div class="box box-solid">.*<div class="box-body">.*<h5>.*(\d+.*\d+)\s+</h5>.*<div class="col-md-3 col-sm-3 headerstats">.*<div class="box box-solid">.*<div class="box-body">.*<h5>.*(\d+.*\d+)\s+</h5>
I was actually about to post that I fixed it; it wasn't seeing it on the other graphtreon because the amount was too small and didn't have a , in it.

Thank you for your help though!
User avatar
FreeRaider
Posts: 826
Joined: November 20th, 2012, 11:58 pm

Re: Webparser Blank Space

Post by FreeRaider »

:thumbup:
Post scriptum: I verified that the last regexp works if there is or is not a comma in numbers.