hey, i was wondering if you guys could help me out getting some selected text out of strings.
example, if i have a string:
and i want to get pull just the picture path out..
how would i go about getting the var $img_path out of the $string var?
thanks for your time, and any assistance you can provide
~Nate_Bro
example, if i have a string:
Code:
my $string = '<img width=12 id="as" src="myFile/img.gif" height=12>';
Code:
my $string = '<img width=12 id="as" src="myFile/img.gif" height=12>';
my $img_path = 'myFile/img.gif';
how would i go about getting the var $img_path out of the $string var?
thanks for your time, and any assistance you can provide
~Nate_Bro