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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Yli
  • Order by date
  1. Yli

    clean a txt or html code with vbs

    ok. finally i managed to make it to work. was this Function Main ( strHTMLText ) dim strResult strResult = StripHTMLTags ( strHTMLText ) Main = strResult End Function Function StripHTMLTags ( strHTMLText ) dim strResult Set RegularExpressionObject = New RegExp With...
  2. Yli

    clean a txt or html code with vbs

    it work with this but clean all html tags this Function Main ( strHTMLText ) dim strResult strResult = StripHTMLTags ( strHTMLText ) Main = strResult End Function Function StripHTMLTags ( strHTMLText ) dim strResult Set RegularExpressionObject = New RegExp With...
  3. Yli

    clean a txt or html code with vbs

    ok. thanks. this second one is jscript. but also don't work. i think is not your problem maybe of the program wich don't have all things. i will ask the owner because i use it in trial version and for that i don't wanted to ask him.
  4. Yli

    clean a txt or html code with vbs

    :( because in how i said i don't know what i use. on this program wich i want to use i have a drop down box wich tell Java Script or VBScript.... so because i don't... i think for that http://paraglidetv.com/clip.jpg
  5. Yli

    clean a txt or html code with vbs

    i get this when i use Parse button ... Error Source: Microsoft Jscript compilation error Error description: Expected ';' Error on line 1 Error on Column: 9 Error in String "Function Main_2(strHTMLText) 'clean a-tag only" from your post i removed last 2 lines because i think are not necessary...
  6. Yli

    clean a txt or html code with vbs

    sincerly i don't know what type of function i need to use.. my ideea is have a lot of link in my html code and i want to clean them all leaving only the linked text.
  7. Yli

    clean a txt or html code with vbs

    hmmm. i don't know why but testing it don't work... just an error without message. ? something missed? i saw the regexp is working but after this... i think is something wrong. so i tested to replace <a href="http://google.com">Google Link</a> to Google Link.
  8. Yli

    clean a txt or html code with vbs

    thanks... i will test.. and comunicate... uff it is so bad to don't know many things... :)
  9. Yli

    clean a txt or html code with vbs

    hmm. anybody can help me to modify the previous code to clean all link tags <a href:*>INEEDONLYTHIS</a>? i have tried something but how i said not ideea about regex and vbs. just intuition. thanks
  10. Yli

    clean a txt or html code with vbs

    thanks all for reading my post but i already have the solution. here it is. Function Main(strHTMLText) dim strSearchFor, nPos, strResult Set RegularExpressionObject = New RegExp With RegularExpressionObject .Pattern =...
  11. Yli

    clean a txt or html code with vbs

    hi all i need help with vbs. i don't have any ideea about coding. the script must to the next - function to search email address in txt or html code the clean these text and leave only the email address. i need this script to insert it in one program. pls help.

Part and Inventory Search

Back
Top