Jump to content
UBot Underground

Derek++

Members
  • Content Count

    13
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Derek++

  • Rank
    Member

System Specs

  • OS
    Windows 8
  • Total Memory
    < 1Gb
  • Framework
    v3.5 & v4.0
  • License
    Standard Edition

Recent Profile Visitors

1321 profile views
  1. Thanks! That's very helpful. Should add that to the wiki.
  2. Hi, I'm trying to extract the price from this text... <span class="star"></span> 1973 Land Rover 88 NUT & BOLT RESTORATION - $65000 (PALM BEACH )</h2>BTW "$" is the html escape code for the dollar sign. I'm using this code... set(#price, $replace regular expression(#fulltitle, "^.+$([0-9]+).*$", "$1"), "Global") Where #fulltitle is the input text from above. The regex works perfectly in Editpad Lite but not in ubot. I have tried several different variations but nothing seems to work. Also if I just use a regex like this... set(#price, $replace regular expression(#
  3. Is there a way to apply regex modifiers? For example the 's' modifier to treat the text as a single line. Is there any documentation showing what regex features are supported in ubot?
  4. Hi, Is it possible to create drill down list of check boxes in the dev version. Since it says that you can use html/js to construct the interface in dev version. Are you able to set ubot variables with the interface using javascript?
  5. Also I forgot to ask what regex modifiers ubot supports and how to add them... would this work... /.../sTo treat the text as a single line.
  6. Hi, I have a replace regular expression that works in Editpad Lite but doesn't seem to work in Ubot. I'm trying to extract the price from this string... <span class="star"></span> 1973 Land Rover 88 NUT & BOLT RESTORATION - $65000 (PALM BEACH )Using this regex replace... .+$([0-9]+).*replace with $1It returns the entire string. I have also tried the page scrape method using "$" as the before and " (" as the after but that doesn't work either?
  7. Thanks. Also the patterns can be reference using $n.. $replace regular expression(#phone,"([0-9]{3})([0-9]{3})([0-9]{4})","($1) $2 - $3")
  8. Is there a way to use references in the $replace regular expression function? I.e... $replace regular expression(#phone,"([0-9]{3})([0-9]{3})([0-9]{4})","\\1 - \\2 - \\2") Also when I input the above regular expression and click okay it automatically strips out the curly brackets... ([0-9]{3})([0-9]{3})([0-9]{4}) turns into ([0-9]3)([0-9]3)([0-9]4)
  9. Thanks! The $table search was what I was looking for. I don't need an example I can get it from here.
  10. The set table cell command won't work because I'm trying get column from value from the table not set a value. What I'm looking for is something similar to the set list position function but instead of using the row number I'd like to set the list position based on the value of a column. Then get the value of another column in the corresponding row.
  11. I'm trying to get the equivalent of this to work in Ubot Studio (standard)... $ui_list = array('AL','AK','AZ'); // etc $subdomains = array('AL' => 'alabama','AK' => 'alaska','AZ' => 'arizona'); $domain = $subdomains[current($ui_list)].".example.com/"; ...Since ubot arrays don't seem to support key=>value pairs I think I have to use tables but am not sure how to this.
×
×
  • Create New...