reformatting: text with unwanted linebreaks
what i am trying to do:
merging two lines of code, where the first line is not ending with .!?" etcpp.
means, merging lines which are broken in the middle, means to merge to a complete sentence.
what i did:
<p class="calibre2">The template line is this</p>
<p class="calibre2">little sentence</p>
using a find/replace with regex:
[a-zA-Z0-9]</p> -will find: s</p>
but the: </p> is the only one, i need to delete.
request 1:
how can ich truncate the search result?
please help with the complete regex-formula to find the "</p>" within the primary search result "s</p>"
(grouping, lookahead, lookbehind, atomic group...???)
request2:
if this would be done, how can i get access to the beginning of the second line-<p class="calibre2">
wich is also needed to be deleted, to join both lines at one?
[a-zA-Z0-9]</p> <p class="calibre2"> does'nt help.
searching for <p class="calibre2"> won't help either, because it's not segnificant enough.
request3:
so, does anybody know, if it's possible to search over two lines of sourcecode?
please help
|