Quote:
Originally Posted by Turtle91
Code:
find: <img(.*?)insert(.*?)/>
replace: <hr class="sigil_split_marker" /><img\1\2/><hr class="sigil_split_marker" />
Then (as BeckyEbook said):
click Edit/Split at Markers (F6)
|
I finally got this to work. I couldn't see the forest for the trees. The problem I was having was because the replace was missing the search term. I feel kinda stupid for not realizing it until I did a side-by-side comparison.
For any future searchers looking for this the working Find&Replace is:
Step 1: Set
[Mode] to
Regex (Took me a few tries before I realized I needed to, it's obvious but easily overlooked)
Step 2: Find & Replace
Code:
Find: <img(.*?)insert(.*?)/>
Replace: <hr class="sigil_split_marker" /><img\1insert\2/><hr class="sigil_split_marker" />
The replace needs to include the word "
insert", with no spaces or anything else, after "
\1" & before "
\2"
Step 3: Edit >
Split at Markers ( or press F6)
Step 4: Profit
Obviously it can be altered however, but the initial one was just missing that