Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by janvdk

  1. janvdk

    Special characters

    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
  2. janvdk

    Special characters

    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...
  3. janvdk

    Special characters

    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...
  4. janvdk

    Help with regular expression please

    Thanks chazoid !
  5. janvdk

    Help with regular expression please

    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...
  6. janvdk

    Retreive infor from string with specific pattern - perl statement ?

    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)...
  7. janvdk

    Retreive infor from string with specific pattern - perl statement ?

    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...

Part and Inventory Search

Back
Top