Is there a way to use the “Find and Replace” to simply add something instead of replacing?
I want to add a “*” to the end of all the italics in the document for example.
Is it possible?
Thanks
Is there a way to use the “Find and Replace” to simply add something instead of replacing?
I want to add a “*” to the end of all the italics in the document for example.
Is it possible?
Thanks
Hallo
→→search: ( with Button: Format →→italics )
.*
→→replace: ( with Button: Format →→italics )
&*
tick regex-option →→replace all
see Screenshot with german kursiv instead italic and extra highlight for demonstraton.
If I click Find Next then Replace the found words just get replaced exactly the same. If I click Replace All then the asterisk gets appended. Do you know if this is intended?
This is how I read the question:
If the italics are formatted by character style (as it should be done in properly formatted texts) you have to find them by the extension AltSearch.oxt.
That’s weird. If you need an extension to modify properly formatted text in this manner, I’d say that the inbuilt Find & Replace tool doesn’t work as it should. Either a design flaw or a bug.
@karolus concerning the comment by @EarnestAl
Yes. I also read it the way karolus
did. In addition the action can be restricted to the Current Selection.
Unsolicited: *&*
as text replacement with RegEx and changing the replacement format
attribute to Regular
(Not italic
) would convert actual italic to “Markdown Italic”.
If the Char-Style itself uses the italic-attribut it works as suggested by me.
Sorry, it seems the fault was on my computer. I reset the user profile and Replace now does the same job as Replace All
Perfect! Danke schön