![]() ![]() The \d means "one or more numeric characters" and \.|\?| |, means "a period or a question mark or a semicolon or a comma". To search for a number followed by a punctuation mark use I worked out a two step process that works on a simple test document but it may not work in all cases. The problem I have solving this request is that I cannot find a way to search for numbers that are positioned as super scripts followed by a punctuation mark that is not a superscript. I also posted this question on Ask LibreOffice but there is not a solution yet. ![]() Unfortunately, documentation on regular expressions for both LibreOffice and OpenOffice is challenging to understand for people who are not already familiar with regular expressions. ![]() Also, once this is figured out, is there anything tricky about specifying that the replacement should have the period before the superscript? It seems that this should be relatively simple, but I can't figure out to do it. However, I am stuck on how to specify that the superscripts should be followed by a period (or comma or semi-colon). Searching for superscripts with Alternative Find and Replace finds each set of references. The superscripts are formatted with Default paragraph and character formatting, so the reference program must have used direct formatting. In most cases, the punctuation is periods, but there may also be some semi-colons and commas. ![]() I would like to know how regular expressions can move the punctuation so that it comes before the superscripts. However, the journal style guide requires that references in superscripts come after punctuation. I am editing a manuscript with many references formatted as superscripts before the punctuation. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |