Jump to content
UBot Underground

bman46

Fellow UBotter
  • Content Count

    4
  • Joined

  • Last visited

Posts posted by bman46

  1. Good day all.

     

    I've been trying to scrape a variable and it comes in pretty dirty due to the code on the site

     

    The scrape ends up looking like this

     

    ------------------------------

     

    #IMPRESSIONS:
              
                                       
                             3,598                    
                             
              Impressions
                 

    -----------------------------

     

    So as you can see there is a lot of weird spacing around the number i need.  I do a replace to get rid of the impressions, that works fine.  Getting rid of the spaces/breaks is causing grief.  You can copy the spaces to a notepage file and find replace them with nothing.  The only problem is that it's not reliable, it'll work for a while then not work.

     

    Any reliable ways to clean up these weird spaces so that I get ONLY the number as the variable?  Thanks for your help.

×
×
  • Create New...