stevexff and PaulTEG,
Thanks for your valuable help.
I think that I worried a bit early basing myself on some "DOS-box" screenoutput. When I write the values to a html-file there is no issue and contents are shown ok through the browser.
Thanks !
Jan
Paul,
Thanks for your answer.
I did what you suggested and I have to report that inserting your code before and after the regexes for the specific characters is resulting in the same result : the bad characters are printed. So even before the use of the first regex your code shows bad...
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...
cntr,
Thanks for your fast response !
I was unfamiliar with awk but I looked some things up and I am now up to the point where I can understand your piece of code.
Now I still have the following question :
how do I use this within perl ? I have version 5.8.6 (ActiveState for Windows)...
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.