Here's some sample lines: NOTE:r 307072427\na 0014017578\n\nr 307072427\na 0014017578\nr 307072427\na 0014017\n
NOTE:17 -2nd place (clinton-henry) 0D\nF\: carroll st fr\n\n17 -2nd place (clinton-henry) NOTE:Mailing Address\:\nBroadVoice\, Inc.\nPO Box 10\nBi\n\nMailing Address\:\nBroadVoi\n\nMailing Address\:\nBroadVoice\, Inc.\nPO Box 10\nBi\n\nMailing Address\:\nBroadVoice\, Inc.\nPO Box 10\nBi\n (Each vcard's 'note' field is on its own line starting with 'NOTE:', and the \n's get converted to line feeds in Address Book.) The repeats seem to always have at least one \n between them. My latest effort is to search for: (NOTE:.*?)(.+?)((?:\\n)+)\2 and replace with: \1\2\3 ... and this actually works, but it takes MULTIPLE passes (and leaves me with extra \n's which are easy enough to get rid of afterwards) Anyway to improve this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a specific feature request or would like to report a suspected (or confirmed) problem with the software, please email to "supp...@barebones.com" rather than posting to the group. -~----------~----~----~----~------~----~------~--~---