Jump to content
UBot Underground

Search the Community

Showing results for tags 'regex'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Announcements and News
    • Join the UBot Community
  • General
    • General Discussion
    • Mac and UBot Studio
    • Journeys
    • Buy, Sell, Free
    • Scripting

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







  1. I made this tool to make sure either my regex will work on ubot or not. hope this helps https://drive.google.com/open?id=1pzCPTuiUf2IL3UTPqu3P7EY7tk3QtIkR
  2. I'm trying to scrape a google url only, and my regex works in the online tester but for some reason in Ubot studio it does not match this is my regex https:\/\/www\.google\.com\/recaptcha\/api2\/payload[^"]+ this is what html looks like <img class="rc-image-tile-44" src="https://www.google.com/recaptcha/api2/payload?p=06AOLTBLTa-vvrnIWo7i1_Eix6gNYTpUzPqU12orIsTHtCreitubGC47NpV5W65VenezqAvBB9phZcGYE6v9OYJ4I3s8nroGgeAOWQbVj7Weydh5KaDmwq73-QYKgZkttOzh-8LLq-ef4dOfOgxPBxA-694yvaaFvUTCjUVq7FDrR0eKhx3KV9jXM&k=6LfYMygUAAAAAM1da_u97ejUiRNeG_b2opEPAKkv" style="top:0%; left: -300%">I'v
  3. tagssongsdogparrotcategoryId: 25 ----------- i wana get text between tags and categoryId answer should be like this songsdogparrot any help appreciated
  4. When i try to scrape an url between these 2 shortcodes using page scrape it gives me an error after some times, i guess it's because the ubot converts those 2 shortcodesinto a math function. the url appears like that in the page: [kenplayer]https://www.websiteurl.com/3456782[/kenplayer]What code should i use to scrape the url, or the number after the url at least? are the regex codes put directly in the ubot editor, or i have to download a plugin?
  5. Build Regular Expressions On The Fly With Regex Builder http://www.youtube.com/watch?v=msjOAwc28Ew Update Version 1.1 "Inline" Feature Below http://www.youtube.com/watch?v=EqR40X1i_MY Edit your regex visually so it is much easierMost of the functions you need are built inUses look ahead/behinds and can create complex expressionsMade with Ubot Studio users in mind I suggest you know some regex while using this tool. While it can help you build faster and more powerful regular expressions it will not do all of the work for you. Make sure you watch the video to see how it works
  6. I can think of this: <a class="iusc" style="height:168px;width:172px" m="{"cid":"3JiZETkL","purl":"https://twitter.com/CARPoficial/","murl":"https://pbs.twimg.com/profile_images/875447997894729728/TrWLn4cS_400x400.jpg","turl":"http://tse4.mm.bing.net/th?id=OIP.3JiZETkL2GO7-YYtVfSMwwD6D6&pid=15.1","md5":"dc989911390bd863bbf9862d55f48cc3"}" mad="{"turl":"http://tse1.mm.bing.net/th?id=OIP.3JiZETkL2GO7-YYtVfSMwwD6D6&w=250&h=250&pid=1.1","maw":"250","mah":"250","mid":"FC7DC2A40C48A9913C28EAC2A19922C0E0D44681"}" href="/images/search?view=detailV2&ccid=3JiZETkL&id=FC7DC2A4
  7. Trying to figure this out and hope for some help. lets say i have a sentence/string that has 461 characters in it... and i want to break that down into multiple 40 character strings (like if you were posting in twitter). I used regext to achieve that part with no trouble at all... Here's where i'm having trouble. Example: The following is a 40 character string... software and information that you need i The "i" on the end of that string is actually the first letter of the next word, so what i need is to end the string on the last space (empty space) before the 40th character. This way, m
  8. Hi I have this HMTL code below, please see https://regex101.com/r/u63Ri6/3 for the full code and my regex: ------------start <tr><td colspan=2> <b>Article:</b><br> <textarea rows=30 cols=120 style='width:100%;'>The Different Meanings Of Your Check Engine Light With An Auto Services Lincoln Park Chicago The lights on your vehicle dash are extremely important. ------------end What I try to catch is "The Different Meanings Of Your Check Engine Light With An Auto Services Lincoln Park Chicago". When I try to use the regex101 code I made there within Ubo
  9. Hi guys, I had read few forums about regex but I couldn't find any ready fix for my problem. Code : <li><span>Avg MMR</span><!-- react-text: 6038 -->9554<!-- /react-text --></li> I want to get the highlighted numbers. This will be the only one line of code from scrape attribute, the number can be 3,4 or 5 digits long. So I need something like - get 3,4 or 5 digits after --> and before <!-- .
  10. Hi I'm learning Regex but I've encountered a problem when looking at source of a page. On amazon you can see 3 monitors per line with prices. I essentially want the monitors at the start of each line which means every 1st, 4th line and so on. https://www.amazon.com/Best-Sellers-Electronics-Computer-Monitors/zgbs/electronics/1292115011 My code is: (?<='true'>\n\s+)\w.*.*(?=\n\s+</div>) How do I get every highlighted 1st, 4th, 7th, 10th line (starting at line 1 then +3) regex?
  11. Hello - I'm just starting my first bot with ubot Standard version 5.9.43, trying to apply regex, and have run into a problem. I'm hoping that someone with experience can shed some light on a solution. I have a regex equation that should work but is not returning any results I have this regex equasion: (?<=<td>\d{3}<\/td>\n<td>)([0-9]{1,2}\/[0-9]{1,2}\/[0-9]{1,4}\s[0-9]{1,2}:[0-9]{1,2}\s[A-Z]{1,2}) that looks a the following example code: <tr class="odd"> <td>108</td> <td>02/27/2016 12:00 AM</td> <td>14939</td> <td>Local R
  12. ProxyScraper Robot will automatically scrape fresh proxies from various sources like hidemyass, ip-address proxies, scrapebox verified proxies and moreā€¦ At the same time filter it and remove bad proxies! http://www.custombotsolutions.com/wp-content/uploads/2012/06/proxy-scraper-robot-cover.png NEVER buy a proxy list again! Modules: Proxy Scraper: Automatically scrape daily fresh proxies! Proxy Filter: Automatically separate dead proxies from Alive and Highly anonymous proxies Proxy Extractor: Extract proxies from web pages! Proxy sources: Hidemyass.comIP-Address.comScrapebox Verified Proxie
  13. So I have this data: nr@id,alex@gmail.com,abc@abc.gif,scrappy@2x-5ca495c2.png,nr@wrapp,info@rexgc.com,2abc@abc.jpg,info@CarolineLabiner.com,104271145@N04,raster@2x.png,nr@wrapped Is there one regex code that can remove all the non-email from the data? These are the non-emails: nr@id, abc@agc.gif, scrappy@2x-5ca495c2.png, nr@wrapp,2abc@abc.jpg,104271145@N04,raster@2x.png,nr@wrapped Only alex@gmail.com,info@rexgc.com,info@carolinelabiner.com are actual emails I want to keep. Thanks in advance.
  14. Hi, I want to create a bot that will go on google, search a keyword, and select a specific search result based on what I pass into the bot. I was looking at the source code that the search results provide and found that it is fairly difficult to select a specific term given that they scramble the html. I was wondering if Ubot had the functionality to search for a specific word or phrase on the webpage or source code and click on it. An example would be if I were to search "ice cream" on Google and it returned several results, I was hoping I could tell the bot to click on any link that contain
  15. Hello guys, i'm having some problems when trying to get some numbers from a text using regex, this is the text: N/ICompanySearch Main SearchReset SearchInitial RegistrationExcel LawsuitPdfExcel ConsolidatedAlter ColumnsSort Column(1 of 151)pp12345678910pp50100150 ID Lawsuit Number Company Party Opposing Party State External ID File Plaintiff Defendant District Court i'm trying to capture (1 of 151) using this regular expression: \(([0-9]?){3} of ([0-9]?){3}\) The funny part is that when I use the regex editor to test, it works correctly, but not when i run the code using the f
  16. I am trying to scrape the data at the end of each of these comma-separated strings. Each string has different segments that are separated by pipes. Here is my sample data: "|35 CHESTNUT PARK RD |CITY OF TORONTO|5300000|2014\/11|43.679108|-79.386780|190410123000100|3977000|PLAN 233E LOT 3|", "|39 CHESTNUT PARK RD |CITY OF TORONTO|2000000|2004\/04|43.679179|-79.386542|190410123000200|4106000|PLAN 233E LOT 4|", "|43 CHESTNUT PARK RD |CITY OF TORONTO|1847625|1997\/11|43.679223|-79.386343|190410123000300|4279000|PLAN 233E LOT 5|" The data that I want to scrape is: PLAN 233E LOT 3 PLAN 233E LOT
  17. Hello Programmers, How are you ? I am fine. Hope your bot ventures are going fine. Just need a little help on extracting the keywords, with REGEX unless an easy alternative is available, from the following searchengine result pages (SERPs). In the 3 following examples, the keyword is "ubot" (one word): https://www.google.com/#q=ubot https://search.yahoo.com/search;_ylt=AwrSbDkZeCpX9CAAjwZXNyoA;_ylc=X1MDMjc2NjY3OQRfcgMyBGZyA3lmcC10LTIwMQRncHJpZAMwMWdhWGhZSVNGQ2pVQXVRVUFIc2tBBG5fcnNsdAMwBG5fc3VnZwMxMARvcmlnaW4Dc2VhcmNoLnlhaG9vLmNvbQRwb3MDMARwcXN0cgMEcHFzdHJsAwRxc3RybAM0BHF1ZXJ5A3Vib3QE
  18. Hi I would like scrape table from this page http://odmiana.net/odmiana-przez-przypadki-imienia-Marcin using command scrape table but it doesn't work for me. I would like scrape only part of this row Marcin Marcina Marcinowi Marcina z Marcinem o Marcinie Marcinie! I'll be grateful for your help
  19. Hello, I am not sure if this has been discussed here on the forum. Please let me know of it is. This is a text that I found on a webpage => 617-8 Avenue SW, Calgary, AB T2P1H1 The first is address then City then Post Code. How can I scrape each text separated by comma using regex? So I can get in separate: 617-8 Avenue SW Calgary AB T2P1H1 Apprecited for any feedback. Thanks Sol
  20. hi,heed some help i am trying to scrape home year from zillow navigate("http://www.zillow.com/homes/3804 Emerson Dr%0960176_rb/","Wait") wait for element(<class="zsg-content-header addr">,"","Appear") wait(3) add list to list(%home year,$scrape attribute(<innertext=r"Built in ">,"innertext"),"Delete","Global") ive tried all combination with scrape attribute with no results so i think it can be done only with regex but i don't know regex very well,i just start to learn it
  21. Hello community, This is my first post and am new to the forums. Have studied uBot for a little while, but still a little new I'm having trouble scraping emails from a webpage... I have tried most of the regex codes in EditPad and the only one that seemed to work and highlight the email addresses was this code: \b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b But when I am using this code in uBot I dont seem to be able to scrape anything... Also tried looking with insersions like: (?<=.)\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b(?=.) Also tried it in brackets like this: (\([A-Z0-9._%-]
  22. Guys i have this Block of Text what i am trying to do is Find All Links inside it using some sort of Universal Regex for Finding URL-s and then replace it with a text "mariners" I guess i need help with logic can anyone help?? My Code So Far set(#description,$replace($scrape attribute(<id="eow-description">,"innertext"),$new line," "),"Global") set(#description,$replace(#description,$find regular expression(#description,),"konjine"),"Global") set(#watchcount,$scrape attribute(<class="watch-view-count">,"innertext"),"Global") set(#video title,$scrape attribute(<id="eow-t
  23. Hi I'm looking for advise on solving this little problem. I want to extract "Firstname Lastname" from the html example below. I'm no regex expert - tried this (?<=<h3>).*?(?=</h3>) - also tried using wildcard, but I think it's the linebreaks/whitespace that's throwing me off... <h3> <a href='/person/Firstname+Lastname/1234-City+A?what=12345678&n=1&page=1&sid=a*%5D%5DJEM%25%5CT0%22'> Firstname Lastname </a> </h3> Thanks
  24. Guys i have strange thing i am trying to scrape Phone number from this spanish site and my goal is this i have to scrape only mobile numbers so every number which starts with "9" will be excluded from Scraping results and i managed to do the hard part but i have this weird issue. Check the Image Attached on load("Bot Loaded") { navigate("http://www.milanuncios.com/ofertas-de-empleo/","Wait") } wait for browser event("Everything Loaded","") wait for browser event("DOM Ready","") set(#loop,0,"Global") loop(#loop) { click($element offset(<tagname="b">,#loop),"Left Click","No")
  • Create New...