Re: [Clip] Re: Stripping image into 2 variables
- abairheart wrote:
>Are you already in the set of tags you want to pull out?
> --- In firstname.lastname@example.org, "dvdwriters12" <dvdwriters@s...>
>>... capture: http://www.somedomain.com/script?dgfdgd
>>into one varible
>>into another variable.
> First capture the whole thing into one variable, say %temp%,
> then split it into two at the "><", using and array,
> finally strip off the extraneous stuff.
> Key step:
> ^!SetListDelimiter ><
> ^!SetArray %banner%=^%temp%
> ;sets array to three elements:
> ;1 <a href="http://www.somedomain.com/script?dgfdgd" target="_blank"
> ;2 img src="http://impgb.somedomain.com/imp/image3456" border=0
> ;3 /a>
> ^!Dec %banner0%
> ;strips off the closing a tag
> now you can use html clip commands to scarf up the URLs out of the
> remaining two array elements.
> Good luck,
Are you running the whole file to generate a list of these? Or are you
doing just one tag set?
What do you want to do with the output? Is it copied to the clipboard,
is it copied to another file?