Hi everybody,
since I'm not sure description of my request is so clear ;-) let me explain a little bit :
I'd like to be able to find with one regexp (according to UE, Unix or Perl syntax) next block of several lines (and have it selected),
- first line of it contains a given string (let's say "Blablabla"),
- and last line of it contains another string (let's say "Blublublu"),
- while intermediate lines (which may be empty, 1 line, or several lines) do not contain any of the two strings (neither 'Blablabla' not 'Blublublu' in any of these lines)
I tried a lot of things.... but never succeeded in such a "search"
If anyone can help, it would be very appreciated.
Thanks !
since I'm not sure description of my request is so clear ;-) let me explain a little bit :
I'd like to be able to find with one regexp (according to UE, Unix or Perl syntax) next block of several lines (and have it selected),
- first line of it contains a given string (let's say "Blablabla"),
- and last line of it contains another string (let's say "Blublublu"),
- while intermediate lines (which may be empty, 1 line, or several lines) do not contain any of the two strings (neither 'Blablabla' not 'Blublublu' in any of these lines)
I tried a lot of things.... but never succeeded in such a "search"
If anyone can help, it would be very appreciated.
Thanks !