PDA

View Full Version : Replacing all instances of a word/term


Jujutsuka
November 23rd, 2016, 08:21 PM
Is there a current function to allow a user to replace all instances of a word with another throughout a topic, article, or the entire realm?

My apologies if I am posting in the wrong place, or if this is a redundant post.

MNBlockHead
November 23rd, 2016, 08:25 PM
No, I don't believe so, but I'll kick myself if the feature exists and I've been missing it all this time.

kbs666
November 23rd, 2016, 08:31 PM
If you change a topic's name the system will prompt you to go to every topic that links to that topic and fix the names. Other than that I don't know of any bulk search and replace features.

Jujutsuka
November 23rd, 2016, 08:49 PM
Well, thanks for the input. I'll see if there is a request for this feature yet, and throw in my input or new request as needed. Thank you!

DaFranker
November 23rd, 2016, 08:56 PM
Well, thanks for the input. I'll see if there is a request for this feature yet, and throw in my input or new request as needed. Thank you!

If you need some kind of workaround in the meantime because you have a big pile of stuff to replace, drop me a PM and I can write up a quick AutoIt script that will do a search-replace for every snippet in the current topic/article. Can be made into a self-exec or, if you don't trust random stranger code, run through the AutoIt programs.

If needed I can also expand it to run through a list of linked topics/articles (e.g. set up a User Note page where each line is linked to a Topic you want to parse and do search/replace for each snippet).

rob
November 23rd, 2016, 10:05 PM
I'll now selling tickets to see @MNBlockHead kicking himself. Hurry, they're going fast!! :)

It's limited to an entire topic or article, but there is definitely a Find, as well as a Replace. This includes Replace All.

When in Edit mode of a topic/article, look at the Format ribbon at the top. There is an Editing section that contains both a Find and a Replace button. These operations are tied to the standard <ctrl+F> and <ctrl+H> keyboard shortcuts that Microsoft Word uses. Within the Replace option, there is a Replace All option. It works quite well!

Hurry! Tickets going fast! See @MNBlockHead kick himself! :)

Jujutsuka
November 23rd, 2016, 11:02 PM
When in Edit mode of a topic/article, look at the Format ribbon at the top. There is an Editing section that contains both a Find and a Replace button. These operations are tied to the standard <ctrl+F> and <ctrl+H> keyboard shortcuts that Microsoft Word uses. Within the Replace option, there is a Replace All option. It works quite well!

Perfect, Rob! This is EXACTLY the feature I was looking for! Thank you very much for taking the time to answer my question! :)

mazzy
November 24th, 2016, 06:27 AM
I'll now selling tickets to see @MNBlockHead kicking himself. Hurry, they're going fast!! :)

<snip>

Hurry! Tickets going fast! See @MNBlockHead kick himself! :)

ROFL!! Can we do a live twitch event?!

Gord
November 24th, 2016, 04:59 PM
When in Edit mode of a topic/article, look at the Format ribbon at the top. There is an Editing section that contains both a Find and a Replace button. These operations are tied to the standard <ctrl+F> and <ctrl+H> keyboard shortcuts that Microsoft Word uses. Within the Replace option, there is a Replace All option. It works quite well!

This is exactly what I use when copying stuff from an OCR'd page (of a book I own). I find it invaluable for correcting the one common mistake that the OCR always seems to make. It's not so great when you have multiple errors or if "a" becomes "g" for example but if there is a two digit error, it works great.

MNBlockHead
November 25th, 2016, 07:01 PM
Man...that's what I get for not double-checking before posting.

So, uh, I kicked the heck out of myself, not realizing that tickets were being sold. But fear not, a re-enactment was filmed: https://www.youtube.com/watch?v=fZb7MVwctug

mazzy
November 26th, 2016, 08:01 AM
Man...that's what I get for not double-checking before posting.

So, uh, I kicked the heck out of myself, not realizing that tickets were being sold. But fear not, a re-enactment was filmed: https://www.youtube.com/watch?v=fZb7MVwctug

LMAO!! I can't even believe that's a thing... :confused:

ruhar
June 2nd, 2017, 10:07 PM
I'll now selling tickets to see @MNBlockHead kicking himself. Hurry, they're going fast!! :)

It's limited to an entire topic or article, but there is definitely a Find, as well as a Replace. This includes Replace All.

MNBlockHead I hope you didn't kick yourself too hard in the head, I just found out that neither the Find nor the Replace will locate anything that includes punctuation of any form like parenthesis. I don't know if this is a bug, but I did report it in case it would be considered a bug. If it's not a bug then at least my reporting it put it on the radar.

ErinRigh
June 3rd, 2017, 03:19 PM
So, uh, I kicked the heck out of myself, not realizing that tickets were being sold. But fear not, a re-enactment was filmed: https://www.youtube.com/watch?v=fZb7MVwctug

Nice dreads, I see why you are called Blockhead, LMAO, too funny.:D:p