|
probably easiest to use a reg exp for
this
youd have to create the reg exp with care, as there
may be white space and different types of quotes, but this might do
it
ie.html.scan(/src\s*=\s*'(.*)?')
that says, find src followed by either space or no
space followed by equals followed by a single quote capture the text in the
quote
If you get it to ork correctly, please post it, as
many people may find this useful
Paul
|
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
