Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Coldfusion - Locate dynamic strings within a sting and extract

Posted on 2007-11-16
3
Medium Priority
?
292 Views
Last Modified: 2013-12-24
Consider the string snippet below...

**********************************************************************

href='https://dibbs2.bsm.dla.mil/Downloads/Awards/16NOV07/SPM40005D9413431R.pdf' title='Click to view Contract in PDF format'>SPM40005D9413<img src='/Images/icons/icon_pdf_cert.gif' alt='PDF document' width='16' height='16' hspace='2' border='0' align='top'></a></td><td headers='h3' valign='top' nowrap>431R</td><td headers='h4' valign='top' align='CENTER' nowrap><a href='JavaScript:void(0)' onClick='openNewWindow("/Refs/cage.asp?cage=78286", "cage", 450, 200)' title='Click to perform a CAGE Search on 78286'>78286</a></td><td headers='h5' valign='top' align='right' nowrap>11/16/2007</td><td align='right' valign='top' nowrap>$6,665.76</td><td headers='h7' valign='top'>2995013454828<br>QUADRANT,POWER CONT</td><td headers='h8' valign='top' nowrap>0017044304<br></td><td headers='h9' valign='top' nowrap>11/16/2007</td></tr><tr bgcolor='#F7F9FB'><td headers='h1' valign='top' align='right' nowrap>265</td><td headers='h2' valign='top' nowrap><a href='https://dibbs2.bsm.dla.mil/Downloads/Awards/16NOV07/SPM40005D9413431S.pdf' title='Click to view Contract in PDF format'>SPM40005D9413<img src='/Images/icons/icon_pdf_cert.gif' alt='PDF document' width='16' height='16' hspace='2' border='0' align='top'></a></td><td headers='h3' valign='top' nowrap>431S</td><td headers='h4' valign='top' align='CENTER' nowrap><a href='JavaScript:void(0)' onClick='openNewWindow("/Refs/cage.asp?cage=78286", "cage", 450, 200)' title='Click to perform a CAGE Search on 78286'>78286</a></td><td headers='h5' valign='top' align='right' nowrap>11/16/2007</td><td align='right' valign='top' nowrap>$8,142.48</td><td headers='h7' valign='top'>1615011677473<br>LOCK PIN ASSEMBLY,F</td><td headers='h8' valign='top' nowrap>0017040758<br></td><td headers='h9' valign='top' nowrap>11/16/2007</td></tr><tr bgcolor='#FFFFFF'><td headers='h1' valign='top' align='right' nowrap>266</td><td headers='h2' valign='top' nowrap><a href='https://dibbs2.bsm.dla.mil/Downloads/Awards/16NOV07/SPM40005D9413431T.pdf' title='Click to view Contract in PDF format'>SPM40005D9413<img src='/Images/icons/icon_pdf_cert.gif' alt='PDF document' width='16' height='16' hspace='2' border='0' align='top'></a></td><td headers='h3' valign='top' nowrap>431T</td><td headers='h4' valign='top' align='CENTER' nowrap><a href='JavaScript:void(0)' onClick='openNewWindow("/Refs/cage.asp?cage=78286", "cage", 450, 200)' title='Click to perform a CAGE Search on 78286'>78286</a></td><td headers='h5' valign='top' align='right' nowrap>11/16/2007</td><td align='right' valign='top' nowrap>$735.24</td><td headers='h7' valign='top'>1560000279064<br>FLANGE,ADAPTER,BLOW</td><td headers='h8' valign='top' nowrap>0017042457<br></td><td headers='h9' valign='top' nowrap>11/16/2007</td></tr><tr bgcolor='#F7F9FB'><td headers='h1' valign='top' align='right' nowrap>267</td><td headers='h2' valign='top' nowrap><a href='https://dibbs2.bsm.dla.mil/Downloads/Awards/16NOV07/SPM40005D9413431U.pdf' title='Click to view Contract in PDF format'>SPM40005D9413<img src='/Images/icons/icon_pdf_cert.gif' alt='PDF document' width='16' height='16' hspace='2' border='0' align='top'></a></td><td headers='h3' valign='top' nowrap>431U</td><td headers='h4' valign='top' align='CENTER' nowrap><a href='JavaScript:void(0)' onClick='openNewWindow("/Refs/cage.asp?cage=78286", "cage", 450, 200)' title='Click to perform a CAGE Search on 78286'>78286</a></td><td headers='h5' valign='top' align='right' nowrap>11/16/2007</td><td align='right' valign='top' nowrap>$10,962.83</td><td headers='h7' valign='top'>1560014091333<br>FLOOR,AIRCRAFT</td><td headers='h8' valign='top' nowrap>0017042647<br></td><td headers='h9' valign='top' nowrap>11/16/2007</td></tr><tr bgcolor='#FFFFFF'><td headers='h1' valign='top' align='right' nowrap>268</td><td headers='h2' valign='top' nowrap><a href='https://dibbs2.bsm.dla.mil/Downloads/Awards/16NOV07/SPM40005D9413431V.pdf' title='Click to view Contract in PDF format'>SPM40005D9413<img src='/Images/icons/icon_pdf_cert.gif' alt='PDF document' width='16' height='16' hspace='2' border='0' align='top'></a></td><td headers='h3' valign='top' nowrap>431V</td><td headers='h4' valign='top' align='CENTER' nowrap><a href='JavaScript:void(0)' onClick='openNewWindow("/Refs/cage.asp?cage=78286", "cage", 450, 200)' title='Click to perform a CAGE Search on 78286'>78286</a></td><td headers='h5' valign='top' align='right' nowrap>11/16/2007</td><td align='right' valign='top' nowrap>$21,925.66</td><td headers='h7' valign='top'>1560014091333<br>FLOOR,AIRCRAFT</td><td headers='h8' valign='top' nowrap>0017042647<br></td

**********************************************************************

I need a solution to search this string and pul out the.... links

https://dibbs2.bsm.dla.mil/Downloads/Awards/16NOV07/SPM40005D9413431U.pdf 
All the links end with a different file name.
Thank You




0
Comment
Question by:cottyengland
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:cottyengland
ID: 20309313
Moderator,
I found my own solution at http://www.cftagstore.com/tags/cfreextract.cfm
It woks perfectly.

Thank you
0
 

Author Comment

by:cottyengland
ID: 20309343
Exactly how do I close this question?

Thank you
0
 

Accepted Solution

by:
EE_AutoDeleter earned 0 total points
ID: 20968312
Furiam,
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.

EE_AutoDeleter
0

Featured Post

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question