Jump to content
UBot Underground

Recommended Posts

I'm trying to scrape the title from a site and filter out the page headline. Basically I need it to extract everything before the pipe ( "|" character), but I've been at it for hours and I can't figure it out!

 

Format:

 

Headline | Site | Date

 

I need to filter out the Headline element, can anyone help?

Link to post
Share on other sites

Something like this?

 

set(#Page Title, $replace($find regular expression("Page URL | Page Title", "\\|(.*)"), "|", $nothing), "Global")

 

http://www.ubotstudio.com/forum/public/style_emoticons/default/rolleyes.gif

Link to post
Share on other sites

Hi,

 

This code will return "headline"

set(#workwith, "Headline | Site | Date", "Global")
set(#Page Title, $replace regular expression(#workwith, "(\\s\\|.*)", $nothing), "Global")

 

Kevin

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...