Dirk:
--------------------------------------------------------------------------------
Thank you very much.

It works great. I would not have supposed there is such an easily to find
function in PSPad, sorry for not searching there.

How could I make PSPad find / copy also these kind of links with only a leading
www.
e.g.
www.domain.com
or
www.domain.com/?123
etc.?

Are there any (kind of) links / URLs the function does not cope?

Many thanks again.
--------------------------------------------------------------------------------

Hi,
you can just modify the regular expression to match what you want,
i.e. instead of the current:
cite:
--------------------------------------------------------------------------------
(news|http|ftp|https):\/\/[\w\-_]+(\.[\w]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\
@?^=%&/~\+#])?
--------------------------------------------------------------------------------
 maybe 
cite:
--------------------------------------------------------------------------------
((news|http|ftp|https):\/\/)?[\w\-_]+(\.[\w]+)+([\w\-\.,@?^=%&:/~\+#]*[\w
\-\@?^=%&/~\+#])?--------------------------------------------------------------------------------


the added ( ... )? makes the part between parentheses optional.

Be sure to test this porperly on you data, it is quite possible, that you get
some false positives, i.e. matches that are not urls.

hth,
   vbr

-- 
<http://forum.pspad.com/read.php?2,62001,62009>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem