PDA

Click to See Complete Forum and Search --> : Find URLs in sourcecode


moocow
Nov 23rd, 1999, 10:57 AM
I've been learning how to use the RTFbox recently to make an HTML editor to automaticly update my site.

I need to be-able to get the HTTP://come.to/Kaotic_dimentia out of the Tag which would be something like

<a href="http://come.to/kaotic_dimentia">enter</a>

I need this find / "replace" to work on all the URLS in a page. In other words i on't want to have to type what i want to find in the source.

If Anyone needs me to elaborate just lemmie know!

Thankyou,

evilmonkeyIII

Gaurav
Nov 23rd, 1999, 06:07 PM
Hi,
Well first things first i would definately require a cleared explanation to what u really want??

Secondly, on first thoughts i think it would be better to use Perl for this. I did something similar when i wrote my own search engine, and found that an HTML href tag can have so many variations i needed a good pattern matching methodology to really carry this out well.



------------------
Gaurav Mahindra
gmahindra@extentia.com