Hi. cite: -------------------------------------------------------------------------------- it may be difficult to solve this generally using one single regex, but chances are, the format of your input data allows some assumptions which would make the extraction simpler,
e.g. if your URLs were always at the beginning of the line and were guaranteed to either start with http or www and is followed by some whitespace, a naive pattern might simply be-------------------------------------------------------------------------------- OK, yes, I understand, regrettably the URLs, links can be all over the place in many forms. 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? -- <http://forum.pspad.com/read.php?2,62001,62032> PSPad freeware editor http://www.pspad.com
