Delete Links

Results 1 to 3 of 3

Thread: Delete Links

  1. #1
    Join Date
    Dec 1969

    Default Delete Links

    I have a Html page whichi will have some around 70 hyperlinks. I want to delete the hyperlinks (Not just the Underline)<BR><BR>&#060;A href="test.asp"&#062;TEST&#060;/a&#062;<BR><BR>In this case i just want to delete the "&#060;A href="test.asp"&#062;" and "&#060;/a&#062;" parts only and want to keep the "TEST"... <BR><BR>I do not want to do this individually one by one...<BR>Is there any way that i can delete all the links once? Please hlep me <BR>OR<BR>do i need to delete one-by-one (70 links)

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default Well

    the &#060;/a&#062; you can just replace with a ""<BR><BR>as for the rest since the page name will be diff you can do a simple repleace....maybe a regexp<BR><BR>

  3. #3
    Join Date
    Dec 1969

    Default Is this really in ASP, or are you talking...

    ...about replacing them in your development environment? If it&#039;s ASP, then a regular expression is your best bet. If not, then a regular expression replace is your best bet - if you see what I mean.<BR><BR>Oliver.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts