@odeta: For a short Regex summary, see this
site. BTW, there are slightly different Regex flavors; Sigil uses
PCRE (=Perl-compatible regular Expressions.)
Quote:
Originally Posted by odedta
This \s{1,} method worked well.
Could you explain the different parts of the that expression?
|
\s = any whitespace character
{1,} = number of preceding characters to be found (in this case at least one)
\n = line-break
\r = carriage-return
I used the
+ operator, because it's shorthand for {1,}.