Im using OpenOffice and Notepad++.
Need to match around first 1000 symbols (or less) in text until end of the sentence (dot sign). For example:
"Once upon a time ... around 1000 symbols ... the end.",
Then you click next search and get match of another around 1000 symbols that ends with .
sign and so on.
I tried regex (?s).*
that matches everything and .{0,1000}
that stops when reaches line break.
I think I need something like .{0,1000}\.\n\r
or .{0,1000}\.\S\s
. I noticed that I need include things like e.g.
in the regex, otherwise it matches ...e.
and leaves g.
apart. How to do that?