{"id":2685,"date":"2022-11-01T16:56:33","date_gmt":"2022-11-01T15:56:33","guid":{"rendered":"https:\/\/digitalia.culturanuova.net\/blog\/?p=2685"},"modified":"2022-11-01T16:57:55","modified_gmt":"2022-11-01T15:57:55","slug":"regex-for-first-lowercase-letter","status":"publish","type":"post","link":"https:\/\/digitalia.culturanuova.net\/blog\/?p=2685","title":{"rendered":"Regex for first lowercase letter"},"content":{"rendered":"\n<p>If you have en ebook that split badly a paragraph, you can try (to merge the bad splitted paragraph), as <strong>find<\/strong> <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;\/p&gt;\\n\\n\\s\\s&lt;p&gt;(&#91;a-z])<\/code><\/pre>\n\n\n\n<p>so that a paragraph beginning with a lowercase word be merged with the previous one.<\/p>\n\n\n\n<p>But in <strong>Calibre<\/strong> editor you must check &#8220;<strong>case sensitive&#8221;<\/strong>, otherwise [a-z] will be read as [A-Z], and <strong>all<\/strong> first letters (lower and upper case) will be selected.<\/p>\n\n\n\n<p>And as <strong>replace<\/strong> you could try<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> \\1<\/code><\/pre>\n\n\n\n<p>In this way you keep whatever letter is found with ([a-z]) in the result.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have en ebook that split badly a paragraph, you can try (to merge the bad splitted paragraph), as find so that a paragraph beginning with a lowercase word be merged with the previous one. But in Calibre editor you must check &#8220;case sensitive&#8221;, otherwise [a-z] will be read as [A-Z], and all first &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/digitalia.culturanuova.net\/blog\/?p=2685\" class=\"more-link\">Leggi tutto<span class=\"screen-reader-text\"> &#8220;Regex for first lowercase letter&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[642,566],"tags":[85,783,198,227,643],"class_list":["post-2685","post","type-post","status-publish","format-standard","hentry","category-epub","category-webmaster","tag-calibre","tag-case-sensitive","tag-lowercase","tag-regex","tag-replace"],"_links":{"self":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2685"}],"version-history":[{"count":3,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2685\/revisions"}],"predecessor-version":[{"id":2688,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2685\/revisions\/2688"}],"wp:attachment":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}