Dirk: -------------------------------------------------------------------------------- ... Or may be one first just could add (by search & replace) http:// to each single www. not leaded by http or https or so and then you use the pattern provided by PSPad.
And a regex only extracting the www. URLs in the first step would not be easier to handle this? -------------------------------------------------------------------------------- This would be possible, however, in multiple steps - the simplest way I can see would be, to replace www\. with: http://www. first, and then remove the possibly duplicated part be replacing: (https?://)http:// with $1 (A direct replacement with respect to the needed contition "not preceeded by ..." requires so called lookbehind assertions, but the regex engine in PSPad doesn't support this feature.) hth, vbr -- <http://forum.pspad.com/read.php?2,62001,62033> PSPad freeware editor http://www.pspad.com
