And if they are nested see this thread.
And specifically this excellent post by 7stud
In reply to Re: Replace newlines only if not inside braces
by tmharish
in thread Replace newlines only if not inside braces
by jbryan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |