Dirk: -------------------------------------------------------------------------------- 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. -------------------------------------------------------------------------------- I'm glad, it helped a bit; sorry for the omission in the replacement recipe, which indeed doesn't make sense in this form. I meant a regular expression replacement of www\. with: http://www. and then: (https?://)http:// with $1 before the builtin pattern in PSPad can be used. regards, vbr -- <http://forum.pspad.com/read.php?2,62001,62035> PSPad freeware editor http://www.pspad.com
