Archive for the ‘Software’ Category


Search inside multiple PDFs at once

January 17, 2018

I had to search for a word across multiple PDFs in a single folder, and didn’t know if there was a way to do that. Off to Google, where I found these excellent instructions:

In case these instructions ever disappear, here’s a short version of the steps:

  1. Open any PDF in Adobe Reader or Adobe Acrobat.
  2.  Press Shift+Ctrl+F to open the Search panel.
  3. Select the All PDF Documents in option.
  4. Click the dropdown list arrow to show all drives. This is not an expandable list, so to specify a particular folder, select Browse for Location, navigate to and select the folder you want to search, then click OK.
  5. Type the word or phrase to search.
  6. Optional: Select any other search filter criteria (e.g. whole words only, case-sensitive). Note: At the bottom of the panel is a link to Show More Options if the filter criteria you want is not listed.
  7. Click Search.
  8. When the results are displayed, click on a result to open that PDF at the first instance of the word you searched for. Other instances within the same PDF are listed under the PDF location in the search results.

This just saved me a heap of time!


MalwareBytes: Context menu lost

December 28, 2017

This post is for me in case this ever happens again. If it helps you too, great. But if it doesn’t work for you, don’t ask me for help as I don’t have any knowledge of the MalwareBytes AntiMalware (MBAM) program — instead, contact MalwareBytes directly (

What happened

MalwareBytes notified my husband of an upgrade (to v3.3.1) and he did the right thing and downloaded and installed it. But he lost the right-click menu option to ‘Scan with MalwareBytes’ in Windows Explorer. We reset the MBAM setting for the context menu, rebooted the machine, downloaded and installed any upgrades (there were none), and gave up in despair as it was Christmas and my IT people were on leave and only available for emergencies. This wasn’t an emergency — just an inconvenience to have to manually scan a folder via the main MBAM interface.

Today, my IT people were back on deck so it was time to get it sorted out.

After checking user forums etc. my IT guy got back to me and checked the Registry settings. Nothing seemed untoward. Then he uninstalled MBAM (there’s a specific process he did for this, including using the proper MBAM clean-up tool, stopping MBAM and other services such as SuperAntiSpyware and Webroot, rebooting the machine, reinstalling a new copy of MBAM from their website, rebooting, enabling the other services etc. — I left him to it!).

But the end result was the same — still no right-click option to ‘Scan with MalwareBytes’ in the context menu.

Then he had a brainwave — I had told him earlier this afternoon that my MBAM upgrade to v3.3.1 went through successfully a couple of days ago AND that I had the right-click scan option. Both were Windows 7 machines.


He checked the Registry on my PC and found a setting for the context menu for MBAM, which wasn’t on my husband’s PC and which wasn’t where he’d expected to find it. He saved that setting, copied it to my husband’s PC, then merged it into my husband’s Registry. After a reboot, we had the context menu back!

For anyone else who has this issue, check for this Registry entry:

  • HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\MBAMShlExt

If it’s missing, you’ll probably need to contact MBAM to get the details for it.


Word: Transpose Surname, Firstname to Firstname Surname

December 26, 2017

I came across a heap of names styled ‘Surname,<space>Firstname’ (e.g. Smith, Jane) and needed to change them to ‘Firstname Surname’ (i.e. Jane Smith).

As with any find/replace operation, identifying the pattern is the first step. Once you’ve done that, the rest is pretty easy. In this example, the pattern was clear — each surname and first name started with a capital letter followed by one or more lower case letters, there was a comma after the surname, and then a space before the start of the first name. Each surname only had a single first name. Because names vary in length, I needed to use wildcards to specify matching the pattern for any number of letters.

Below is what I came up with for this swap — others more clever than me may have a more elegant way to do this, but this worked for me.


  • I don’t advise doing a ‘replace all’ with this — if there’s anything else that matches the pattern that ISN’T a name, it will get changed too.
  • This find/replace only finds whole names with a single capital letter (i.e. it finds Smith, Jones, Haythornthwaite, Jane, Rosemary, Jonathan). It does NOT find names with more than one capital (e.g. McDonald, AnnMarie) or with an apostrophe (e.g. O’Malley).
  • Hyphenated words are found, but transpose incorrectly (e.g. Smith, Jane-Ann changes to Jane Smith-Ann not Jane-Ann Smith; similarly Jones-Brown, John changes to Jones-John Brown).
  • Surnames with a first and middle name or initial will be found but transposed incorrectly (e.g. Smith, Jane K. Susan will become Jane Smith K. Susan instead of Jane K Susan Smith). Surnames with an initial letter instead of a first name will not be found (e.g. Philips, A. is not found)
  • Names separated with anything other than a comma, or that have two or more spaces between the comma and the first name will NOT be found.
  • Names with accents, umlauts, and other diacritical marks over letters (e.g. René) are found and transposed correctly.

Despite all the cautions and warnings above, if you have a long list of names to change, then you could run this find/replace, replacing one at a time and manually fixing the others that aren’t found or that will transpose incorrectly. It’s still quicker than doing them all manually.


  1. Save your document.
  2. Press Ctrl+H to open the Find/Replace window.
  3. Click the More button.
  4. Select Use Wildcards.
  5. In the Find What field, enter this (copy it from here and paste as there’s a space in the string of characters): (<[A-Z])([a-z]@>)(, )(<[A-Z])([a-z]@>)
  6. In the Replace With field, enter this (again, copy/paste as there’s a space in here that’s hard to see): \4\5 \1\2
  7. Click Find Next.
  8. Click Replace if it finds a name you want to transpose; if not, click Find next to go to the next one. (Note: Replace All is super powerful and you could change things you don’t want to, so err on the side of caution and click Find Next > Replace > Find Next until all are done).


  • Parentheses surround each ‘element’ of the find. These are represented by numbers in the replace (i.e. the 4th set of parentheses in the find becomes \4 in the replace)
  • < indicates the beginning of a word; > indicates the end of a word
  • [A-Z] looks for any upper case letter; [a-z] looks for any lower case letter
  • @ looks for any number of the instruction immediately previous (e.g. [a-z]@> looks for any number of lower case letters up to the end of a word — this covers the varying length of names)



Word: Find duplicated words

December 6, 2017

This find/replace is based on Paul Beverley’s work, so full acknowledgement to him for teaching me how to do this via his YouTube videos and his free book.


Some of my authors inadvertently type the same word twice (e.g. is is, the the), and it’s often hard to pick these up when editing. If you run spellcheck, you may find them, but there’s no guarantee of that. The find and replace below uses wildcards to find any instance of duplicated words, followed by a space or a common punctuation mark, and then replaces that with a single word and the trailing space or punctuation.

NOTE: This find/replace only finds words with the exact same case, so it will find ‘the the’, ‘THE THE’, and ‘The The’, but it won’t find instances where each word has the same letters but with different cases (e.g. ‘the The’, ‘The the’, ‘tHe thE’ etc.)


  1. Press Ctrl+H to open the Find and Replace dialog box.
  2. Click More, then select the Use wildcards option.
  3. In the Find field, type: (<[A-Za-z]@)[ ,.;:]@\1>
    (Note: There’s a space in there, so I suggest you copy this Find string.)
  4. In the Replace field, type: \1
  5. Click Find Next then click Replace. Repeat.


How this works — at least how I *think* it works:

  • Find: Look for the start of any word (<) made up of any number (@) of letters ([A-Za-z]) followed by a space or punctuation ([ ,.;:]) then repeat that find (@\1) until you can’t any more words that match the pattern (>).
  • Replace: Replace the first element (the first of the duplicate words) with itself (that’s the \1 bit), which effectively deletes the rest.

[Links last checked December 2017]


Word: Find a year followed by a comma and replace with a semicolon

November 22, 2017

Another early morning question posed on Facebook…

The person was trying to use Word’s wildcard find and replace to convert all strings of Authorname nnnn, Authorname nnnn, Authorname nnnn, Authorname nnnn (i.e. any author’s name, followed by a 4-digit number for a year, such as Smith 2005, Jones 1997, etc., followed by a comma, followed by another author’s name etc.). He wanted to convert all the comma separators to semicolons, ending up with Authorname nnnn; Authorname nnnn; Authorname nnnn; Authorname nnnn. (I’ve italicised the text for clarity — it wasn’t in his original.)

Wildcard find/replace is all about finding the pattern and then figuring out how best to interpret that pattern in a meaningful way in how you search for what you want, and how you replace it with what you want.

In this example, an author name always ends in a lower case letter, is followed by a space, then four numbers for the year, a comma, a space, then an upper case letter for the next author’s name. The last item in the list doesn’t quite match the pattern (no comma, space, upper case letter following it),  but that one doesn’t need to change so we can ignore that variation to the pattern. He wanted to keep everything except the comma, which he wanted to change to a semicolon.

Here’s how I solved it using Word’s wildcard find and replace  (there may be a more elegant solution, but this one worked for me):

  • Find: ([0-9]{4})(,)( )([A-Z]) 
  • Replace: \1;\3\4

If you need to use this, I suggest you copy it as there’s a space in the third set of parentheses that you can’t see.

How this works:

  • Find: Look for any number from 0 to 9 [0-9] that has 4 digits {4} — this is the first element and is surrounded by parentheses. Then look for a comma (another element, so also surrounded by parens). Next look for a space (wow, more parens), and finally look for any upper case letter [A-Z] and as it’s a unique element, surround it by parens too.
  • Replace: Replace the first element (the 4-digit number) with itself (that’s the \1 bit), then a semicolon, then replace the third and fourth elements of the find with themselves (e.g. \3\4).

You keep everything you don’t want to change (elements 1, 3, and 4) and only change the second element by typing a semicolon in between elements 1 and 3.




Word: Wildcard replace with a backslash

November 22, 2017

This morning, well before I was properly awake, I solved a problem someone had posed on a Facebook group I’m in. They had an issue getting Word’s wildcard find and replace to do what they wanted and had asked members of the group to help. I’m writing this up for my own future reference as there’s some information in here about the peculiarities of the backslash character that I may need to use again in the future. [Random fact: The backslash character is known by several names, including the reverse virgule and the reverse solidus.]

The person was trying to find an easy way to find all instances of 3x and replace with 3\x\. Actually, she was trying to do more than that — if she’d only been looking for that, then a normal find/replace should work. For the rest of the string, however, she really needed to use wildcards. Where she was getting stuck was defining the Find correctly, and then the Replace.

Here’s my solution (using wildcards):

  • Find: (3)(x) 
  • Replace: \1^92\2^92

How this works:

  • First, look for 3 followed immediately by x. I separated them in the Find string with parentheses so that I could treat them as separate elements in the Replace string.
  • Next, for the replace, type \1 to replace the first element (the 3) with itself, then type ^92 to add a backslash character (you can’t type a \ as that won’t work), then \2 to replace the second element of the Find with itself (i.e. the x), then another ^92 for a final backslash character.

Two things to note:

  • The backslash is an escape character in a Find, so if you need to find one, you need to surround it with square brackets and ‘escape’ it — i.e. [\\] in a Find.
  • The backslash is a special character in Replace too as it designates the element you want to replace with itself. Instead, you have to use ^92 in place of a \.



Word: Print Comments only

November 14, 2017

You can print comments and track changes with a document easily enough, but what if you JUST want to print the comments in a Word document?

It’s a bit fiddly, but it can be done. Here’s how:

  1. Open the Word document that has comments.
  2. Go to the Review tab.
  3. Click the drop-down arrow next to the Show markup button.
  4. Turn off everything except Comments. You can only turn them off one at a time, so you’ll have to do the previous step and this one several times to turn off all the options except Comments. When you’re finished, only Comments should have a check mark next to it.
  5. Go to File > Print.
  6. Under Settings, the default to Print all pages. You don’t want that, so click the drop-down next to those words.
  7. Select List of Markup. Note: The Print Markup option at the bottom of the list should be ticked; if it’s not, select it too.
  8. Choose your printer as you normally, then click Print.

If you want to print out just one reviewer’s comments, repeat the steps above. When you get to Step 4, follow those instructions and then select Specific people from the Show Markup list and choose the person or people whose comments you want to print. Once you’ve done that, continue on from Step 5 above.

NOTE: I couldn’t find how to print just the comments in a Word document converted to PDF. Adobe Acrobat doesn’t recognise Word’s comments as comments, only its own.