Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 908549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:44:04+00:00 2026-05-15T16:44:04+00:00

I have an apparently simple regex query for pipes – I need to truncate

  • 0

I have an apparently simple regex query for pipes – I need to truncate each item from it’s (<img>) tag onwards. I thought a loop with string regex of <img[.]* replaced by blank field would have taken care of it but to no avail.

Obviously I’m missing something basic here – can someone point it out?

The item as it stands goes along something like this:

sample text title 
<a rel="nofollow" target="_blank" href="http://example.com"><img border="0" src="http://example.com/image.png" alt="Yes" width="20" height="23"/></a> 
<a.... (a bunch of irrelevant hyperlinks I don't need)...

Essentially I only want the title text and hyperlink that’s why I’m chopping the rest off

Going one better because all I’m really doing here is making the item string more manageable by cutting it down before further manipulation – anyone know if it’s possible to extract a href from a certain link in the page (in this case the 1st one) using Regex in Yahoo Pipes? I’ve seen the regex answer to this SO q but I’m not sure how to use it to map a url to an item attribute in a Pipes module?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T16:44:05+00:00Added an answer on May 15, 2026 at 4:44 pm

    You need to remove the line returns with a RegEx Pipe and replace the pattern [\r\n] with null text on the content or description field to make it a single line of text, then you can use the .* wildcard which will run to the end of the line.

    http://www.yemkay.com/2008/06/30/common-problems-faced-in-yahoo-pipes/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have searched but apparently my google foo is weak. What I need is
HI I have the following (apparently simple) problem: I have to install a simple
I have a millisecond timestamp that I need to convert from a string to
I have a file that apparently contains some sort of dump of a keep-alive
Apparently xrange is faster but I have no idea why it's faster (and no
Question: I have a question that is apparently not answered by this already-asked Bash
Apparently I can't move files on different volumes using Directory.Move. I have read that
My only problem is making them line up three-across and have equal spacing. Apparently,
In .NET 3.0, most controls have a flat style. Apparently, the date picker doesn't
I thought this would be a simple google search but apparently not. What is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.