Skip to main content
Inspiring
January 16, 2014
Question

Searching for special characters in RH 9

  • January 16, 2014
  • 1 reply
  • 980 views

Occasionally I get broken links because when I add a hyperlink, I must be at the wrong level or something. I haven't figured out exactly when this happens, but it's never bothered me because I can just do a Find and Replace to find it and replace it.

Here's an example from the Broken Link Report (Tools > Reports > Broken Links):

Missing topic 'MyHelpProject\Editing_Trade_Show_Codes.htm' is referenced by the following...

In the past, I would open Find and Replace (Edit > Find and Replace in Files) and paste in the following string in the Find box:

MyHelpProject\

Notice that I included the backslash. I'm pretty sure that this worked; that is, it would find any string beginnging with MyHelpProject\, but now it won't find anything at all unless I leave off the backslash. Of course, that doesn't make sense because the backslash is an escape character. Maybe I'm just mis-remembering.

So how do I unescape it so that I can find MyHelpProject\?

I know that I can search for it without the backslash, but there are a few instances where I don't want to delete MyHelpProject.

I'm using RoboHelp 9. 

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
January 19, 2014

Please confirm these are links to other topics in your project and how you are creating them in the first place.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
MM_ActonAuthor
Inspiring
January 24, 2014

I'm not sure what you mean by "these are links to other topics in your project," so I apologize if this doesn't answer your question.

I have a topic called Editing Trade Show Codes.  In another topic, I link to it. Since the other topic is in the same folder, the HTML href should look like this:

    <a href="Editing_Trade_Show_Codes.htm">Editing Trade Show Codes</a>

But it doesn't. Instead it looks like this:

    <a href="MyHelpProject\Editing_Trade_Show_Codes.htm">Editing Trade Show Codes</a>

I know that Editing Trade Show Codes (that is, Editing_Trade_Show_Codes.htm) exists. I don't know how the MyHelpProject\ got in there, but in the meantime, I want to use Find and Replace in Files and go in and remove the MyHelpProject\ at the beginning of the affected links.

The problem I need to resolve first is how to tell Find and Replace in Files to change every occurrence of MyHelpProject\ to nothing.

Then I need to find out why it's happening.

How did they get there? I click the Insert Hyperlink button on the toolbar.

(I'm using RoboHelp 9 right now.)

Peter Grainge
Community Expert
Community Expert
January 27, 2014

The links could have been to something outside your project. In this case it looks like they are topics that are in the project.

The find is "MyHelpProject" and the replace field is left blank.

It looks as if you are somehow creating an external link. Describe your process for creating links.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.