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...
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...
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.
:( 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
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...
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.
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.
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
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 =...
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.
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.