--- In [email protected], Alec Burgess <bura...@...> wrote:
>
> Carrol:
> This should do the trick:
> Find: \r\n([^\[].*?)$
> Replace: $1
> 
> Note - your example shows
> 
> [b]Sound:[/b]
> Mono,
> Dolby
> [b]More:[/b]
> 
> replaced by
> [b]Sound:[/b] Mono
> [b]More:[/b]
> 
> I assume that was an error and you would actually want:
> [b]Sound:[/b]Mono,Dolby
> [b]More:[/b]
> 
> correct?
> 

Not what I was looking for but I was able to make it work. 

Thanks.

-nick
> Above regex relies on the "fact"? that the *ONLY* lines in your input 
> which do *NOT* start with "[" are those which are to be merged up to the 
> preceding line. If this is not the case (eg. others lines at the 
> beginning or end of the text to be adjusted which are to be left as is) 
> the regex would have to be altered.
> 
> Happy New Year - my first email of 2010 :-)
> 
> -- 
> Regards ... Alec   (bura...@gmail & WinLiveMess - alec.m.burg...@skype)
> 
> 
> 
> 
> [Non-text portions of this message have been removed]
>


Reply via email to