troubleshooting Question

Extract URL from string using AS2

Avatar of systemride
systemride asked on
JavaScriptAdobe Flash
3 Comments1 Solution542 ViewsLast Modified:
I am trying to parse strings through a loop (in actionscript) that I get from an xml file. The string itself is actually HTML and I am trying to extract an image URL from that string. So the string would look something like so:

<table cellspacing="0"><tr><td>text content here blah blah... <img src="" /></td></tr></table>

...and from this string I would want to extract:

The thing is each string will be different and the text content before the image will be different lengths so i wouldn't be able to specify specific character numbers to find the start of the image url that I want to extract.

Can anyone provide help with this? Actionscript 2.0 please.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros