Thank you very much vbr. cite: -------------------------------------------------------------------------------- This would be possible, however, in multiple steps - the simplest way I can see would be, to replace www\. with: www.
first, and then remove the possibly duplicated part be replacing: (https?://)http:// with $1-------------------------------------------------------------------------------- Very sorry, cannot understand how to handle these lines. cite: -------------------------------------------------------------------------------- this would be easier, it just seemed that you can also have URLs without this part. You may try: www(\.[\w]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?-------------------------------------------------------------------------------- Thank you for the new one. Yes, that seems to work well, some URLs do not make it, but the most ones are alright, I would say. OK, well, I will try it with those regexes. Thank you very much for your nice help. -- <http://forum.pspad.com/read.php?2,62001,62034> PSPad freeware editor http://www.pspad.com
