How to remove hyperlinks from message object


    Jul 22 2015 | 12:52 am
    Hi there,
    I am using the mxj searchtweet object to pull twitter feeds into max. Does anyone know how to remove hyperlinks from a message object? I have been using the regexp object to remove the symbols cannot figure out how to remove the full hyperlinks.
    For example for this tweet: "#millennials want #e2016 candidates who willchange most @obama policies http://t.co/wj0s9b8scs @theweek #boomers #teen #genx #teaparty #ows"
    I would like to read: "#millennials want #e2016 candidates who willchange most @obama policies @theweek #boomers #teen #genx #teaparty #ows"
    Thank you for the help!!

    • Jul 22 2015 | 9:57 am
      Like this?
    • Jul 22 2015 | 11:35 pm
      cool thanks! Works perfectly.
      If you don't mind, how do the meta characters you put in the regexp work in layman's terms?
      regexp http[^\\s]+\\s @substitute %0
    • Jul 23 2015 | 12:59 am
      Hi Broc, I noticed that the first part of any tweets with a comma (,) in the text gets removed using the patch you shared.
      Example: Obama returns to father's homeland with history, security on his mind: By Jeff Mason WASHINGTON (Reuters... #news
      Becomes: security on his mind: By Jeff Mason WASHINGTON (Reuters... #news
      Do you know why this is happening? Thank you again!!!
    • Jul 23 2015 | 7:16 am
      Comma in a message box has the special meaning that parts are sent sequentially (see also help file). So the part before comma may be overwritten by sending the next part after comma.
    • Jul 23 2015 | 6:28 pm
      arh I see, thanks Broc! I appreciate the help.