Ask Your Question
0

How do I find italicized text and add HTML tags to it?

asked 2017-12-07 19:54:33 +0200

Bluemote gravatar image

Trying to search a document for all italicized text and replace it with that same text plus HTML tags without having to add them to each instance by hand. In Word, I could do this by replacing with ^&. What's the equivalent in LibreOffice?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-12-07 22:22:46 +0200

RGB-es gravatar image

You need to use regular expressions and formatting.

Open the full search/replace tool with Ctrl H and select "More options". With the cursor on the Search box click on Format and select italic variant. Now select both, Regular expressions and Including styles. On the Replace box type

<i>&</i>

Finally, press Replace All.

image description

edit flag offensive delete link more

Comments

It works perfectly. Thanks so much!!

democrito88 gravatar imagedemocrito88 ( 2018-05-06 11:00:33 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-12-07 19:54:33 +0200

Seen: 674 times

Last updated: Dec 07 '17