Hi all,
I have a problem : in the following code some characters get "changed" by the script in some way. I gave the string to be searched a specific value to illustrate my problem. In reality $htmlline gets variable values.
-----------
$htmlline = "<td valign='top' >König der...
Dear all,
I need a little help with a regular expression.
For the following string $htmlline I'd like to replace ALL tags of format <A whatever text> by <A>.
Using the following, it only does it for the first tag it encounters
$htmlline =~ s/<A(.*?)>/<A>/;
$htmlline= <A...
Hi,
I'd like to write a perl search statement (regular expression I suppose) to find something in a string of which next line is an example :
<A href="/product/3076">Table</A> (2004) <A href="/product/3076"><img src=/images/xml.png border=0></A>
I'd like to extract to a variable for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.