Find a set of char and avoid the same set up to the sentence beginning.
Find a set of char and avoid the same set up to the sentence beginning.
Hello,
I am stuck, no way to enter in it. I don't know how to regex (into Calibre) the first occurence of a set of four char and jump this set of char if a chain is at the beginning of the sentence.
I have a couple of sentence. I am looking for four characters . « such as .space«space
Model#1 is :
<p class="calibre21"> <span class="calibre17"> — « This dialogue starts. » blah blah said the man. « Additional dialogue. »</span> </p>
Model#2 is :
<p class="calibre21"> <span class="calibre17"> Blah blah, few words. « Short additional dialogue starts. »</span> </p>
Into model#1, how to avoid to find the set in the second part. « Additional dialogue (because there is "> — « at the beginning of the sentence after <p class="calibre21"> <span class="calibre17">.
Into model#2, how to find the . « Short additional ...( because there is NOT "> — « at the beginning of the sentence).
Hope I am clear. Thank you for the tips. Best regards.
|