Quote:
Originally Posted by Valloric
Harry, I don't know what regex flavor you are using, but all the engines that I know of require parentheses for capture groups.
So like this:
And then:
For what Zelda wants, I'd use this:
With this:
|
woohoo !! thanks valloric ! that worked perfectly.
now when i'm done with all my other corrections i can copy all my html into previous sigil and add in my chapter break divs with a simple find and replace on <h3>. joy.
Quote:
Originally Posted by Valloric
A good regex info site is http://www.regular-expressions.info/, and a great regex test site is Regexr. But do note that Regexr use the Perl notation for backreferences ("$#", e.g "$1", "$2"...) while Sigil uses the sed notation ("\#", e.g. "\1", "\2" ).
|
and thank you for that, too.
i'm sure i'll have plenty of other expressions to find.