Jump to content
UBot Underground

How to scrape keywords non case sensitive?


Recommended Posts

I have some keywords in a list that i'm scraping an article for...i'm wondering if it's possible to scrape the keywords whether upper or lower case?

 

Keywords:

 

bob

tom

john

 

 

Article:

 

Bob is cool, Tom is rad..John is a dork

 

 

But when I scrape, none of them return back since the keywords are lower case. Any way to do this regardless of case?

Link to post
Share on other sites

This can be done using regex.

 

Hey John,

You wouldn't happen to know what kind of string would accomplish this would you? I'm really green to regex. Right now the keywords in my text block are being assigned to a variable and then i'm scraping for that variable. Thanx!

Link to post
Share on other sites

It depends which UBot license you have. Are you using Pro or Dev? If so, you may be able to accomplish it without using regex.

 

John

 

also, which keywords are in lower case? The ones in your list? or the ones in the article?

Link to post
Share on other sites

It depends which UBot license you have. Are you using Pro or Dev? If so, you may be able to accomplish it without using regex.

 

John

 

also, which keywords are in lower case? The ones in your list? or the ones in the article?

 

 

I have the regular version. The keywords in the article could be upper case or lower case depending on if they start a sentence or not.

 

I'm hoping to just enter my keywords non case sensitive into the UI text box and have it scrape all keywords whether upper or lower case in the article.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...