You can use this code:
find: <h2>(.*?)</h2>
replace: <h2>\L\1\E</h2>
where \L means lowercase (begin) and \E means end (of transformation)
a thoughtful use of digital
You can use this code:
find: <h2>(.*?)</h2>
replace: <h2>\L\1\E</h2>
where \L means lowercase (begin) and \E means end (of transformation)
A very useful feature of espanso (a text expander also for wayland) is the possibility to convert the clipboard content to lowercase (with ::low) or to uppercase (with ::up).
If you have en ebook that split badly a paragraph, you can try (to merge the bad splitted paragraph), as find
</p>\n\n\s\s<p>([a-z])
so that a paragraph beginning with a lowercase word be merged with the previous one.
But in Calibre editor you must check “case sensitive”, otherwise [a-z] will be read as [A-Z], and all first letters (lower and upper case) will be selected.
And as replace you could try
\1
In this way you keep whatever letter is found with ([a-z]) in the result.
Utile con autokey. Eccolo:
pre.CICodeFormatter{
font-family:arial;
font-size:12px;
border:1px dashed #CCCCCC;
width:99%;
height:auto;
overflow:auto;
background:#f0f0f0;
line-height:20px;
background-image:URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif);
padding:0px;
color:#000000;
text-align:left;
}
pre.CICodeFormatter code{
color:#000000;
word-wrap:normal;
}
# Get the current selection.
sText=clipboard.get_selection()
lLength=len(sText)
try:
if not store.has_key("textCycle"):
store.set_value("state","title")
except:
pass
# get saved value of textCycle
state = store.get_value("textCycle")
# modify text and set next modfication style
if state == "title":
#sText=sText.capitalize()
sText=sText.title()
newstate = "lower"
elif state == "lower":
sText=sText.lower()
newstate = "upper"
elif state == "upper":
sText=sText.upper()
newstate = "title"
else:
newstate = "lower"
# save for next run of script
store.set_value("textCycle",newstate)
# Send the result.
keyboard.send_keys(sText)
keyboard.send_keys("<shift>+<left>"*lLength)