How can I perform a find and replace against all embedded links?
Hi -
We have a project which links to another project. The URL for the linked to project has changed, and now all hyperlinks fail when clicked.
Yes - I can edit each and every link, but the person who set this up has literally hundreds of links in this project which now need to be changed. Please save my sanity and tell me there is a way to update all links programatically (replace infomoto.mot.com/robo/projects/iccs-bcs with infomoto.mot.com/iccs) in all places it is referenced.
Thanks much,
Anahid
In theory you can use the built in Multi File Find and Replace as the string should be on one line. Personally I would use FAR from http://www.helpware.net/FAR and search using Start With / End With and Must Contain to ensure the string will be found even if it is split over two lines. You could also use BKReplaceEm which is free.
Backup up your project before you start. Tools like this can fix issues in seconds, they can also wreck your project in seconds.
See www.grainge.org for RoboHelp and Authoring tips
Follow me @petergrainge
Similar Messages
-
In Edge Code can i do a find and replace?
In Edge Code can i do a find and replace on multiple lines of code or just a single line?
You can't do it on just one type of file. However, you can do find and replace in selected files. Ctrl-click to select the targeted files in the Files panel, and then choose Selected Files in Site from the Find In drop-down.
-
I migrated from a PC to a Mac Book Pro. The contacts transferred over to the Mac along with many contacts that I had deleted sometime ago. Also some contacts did not transfer at all. How can I perform a correct and up to date migration of my contacts?
well no reply from the community. sniff- do i stink!? - probably a little bit. If i have lost all that data then I'm gonna really really pong.
Any ways i have purchased a 1tb usb HDD and have managed to duplicate the dmg file onto it. however still unable to mount the **** thing. so now i have ordered disk warrior which will be in my possession tomorrow.
fingers toes eyes crossed. -
My wife and I have 2 new iPhones and also have a mac book pro and an iMac. How can we share apps, music and contacts between all these?
Use the same Apple ID and password for purchasing in all these devices.
-
Hi. I'm using Dreamweaver CS4. I would like to do a find and replace through my site with Dreamweaver but I only want it to search through .cfm files. Currently it is searching through .html and .txt files along with .cfm. Is there a way to do a find and replace on just .cfm files?
- TomYou can't do it on just one type of file. However, you can do find and replace in selected files. Ctrl-click to select the targeted files in the Files panel, and then choose Selected Files in Site from the Find In drop-down.
-
How to perform a find and replace of Portal content?
We recently changed the URL of a business application and I would like to replace the old URL with the new URL in all Portal content items, including URL item types, Text item types, item descriptions, HTML Builder portlets, etc...
I can use the Portal's built-in search to find most instances of the old text, but can I perform a SQL query to replace the existing text fragment with a new text fragment?
TIAThis is script, we use when we refresh test environment from production. Change variables values as per your setting under define ...
login as portal
set echo on
set term on
spool changeurl.log
define PROD_DN=prodhost
define DEV_DN=devhost
define PROD_HOSTNAME=prodhost.hsys.local
define PROD_PORT=7778
define DEV_HOSTNAME=devhost.hsys.local
define DEV_PORT=7780
update wwsec_group$
set dn=replace( dn, '&&PROD_DN', '&&DEV_DN' )
update wwsec_group$
set dn_hash = wwsec_api_private.get_dn_hash( dn )
-- users (dn)
update wwsec_person$
set dn=replace( dn, '&&PROD_DN', '&&DEV_DN' )
update wwsec_person$
set dn_hash = wwsec_api_private.get_dn_hash( dn)
-- subscriber
update wwsub_model$
set dn=replace( dn, '&&PROD_DN', '&&DEV_DN' ), GUID=':1'
where dn like '%&&PROD_DN%'
-- preferences
update wwpre_value$
set varchar2_value=replace( varchar2_value, '&&PROD_DN', '&&DEV_DN' )
where varchar2_value like '%&&PROD_DN%'
update wwpre_value$
set varchar2_value=replace( varchar2_value, '&&PROD_HOSTNAME:&&PROD_PORT', '&&DEV_HOSTNAME:&&DEV_PORT' )
where varchar2_value like '%&&PROD_HOSTNAME:&&PROD_PORT%'
-- page url items
update wwv_things
set title_link=replace( title_link, '&&PROD_HOSTNAME:&&PROD_PORT', '&&DEV_HOSTNAME:&&DEV_PORT' )
where title_link like '%&&PROD_HOSTNAME:&&PROD_PORT%'
-- web providers
update wwpro_providers$
set http_url=replace( http_url, '&&PROD_HOSTNAME:&&PROD_PORT', '&&DEV_HOSTNAME:&&DEV_PORT' )
where http_url like '%&&PROD_HOSTNAME:&&PROD_PORT%'
-- html links created by the RTF editor inside text items
update wwv_text
set text=replace( text, '&&PROD_HOSTNAME:&&PROD_PORT', '&&DEV_HOSTNAME:&&DEV_PORT' )
where text like '%&&PROD_HOSTNAME:&&PROD_PORT%'
-- Portlet metadata nls: help URL
update wwpro_portlet_metadata_nls$
set help_url=replace( help_url, '&&PROD_HOSTNAME:&&PROD_PORT', '&&DEV_HOSTNAME:&&DEV_PORT' )
where help_url like '%&&PROD_HOSTNAME:&&PROD_PORT%'
spool off -
SharePoint Calc Column - How to Find and Replace ANY & ALL Values with Something Else
Haven't found a solution on this even though it seems like it should be cut and dry.
I have a column containing characters "-" (e.g., XXX123-123-fjhrh-sdafsdfsd). I want to find every "-" and replace it with "@". Seems easy but so far haven't found a solution. My calc column always seems to stop at the first
occurence of "-" and only replace that one. Seems every forumula wants you to tell SharePoint where to start (position). You can't simply tell SharePoint, Find this "-" ALL OCCURENCES and replace with this "@" ALL OCCURENCES.
I don't have the option of saying start at this position because my data is not the same in every cell/field (e.g., number of characters).
Closest I've gotten is this:
=REPLACE([IN THIS COLUMN],FIND("-",[IN THIS COLUMN]),LEN("-","@")
RESULTS:
XXX@123-XXX-123Hi JJSHAREP,
The formula only works when there are only three "-" in the column value, and the formula will fail if there are more than or less than three "-" in the column value.
I recommend to use Jquery code to replace the characters in the column called IN THIS COLUMN in the UI:
<script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
var Index=0;
$(".ms-listviewtable tr th").each(function(i){
if($(this).find("div").attr("name")=="IN_x0020_THIS_x0020_COLUMN"){
Index=i;
$(".ms-listviewtable tr").each(function(i){
if(i>0){
var value=$(this).find("td").eq(Index).text();
var value1=value.replace(/\-/g, '@');
$(this).find("td").eq(titleIndex).text(value1);
</script>
Best regards.
Thanks
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How can I erase my iMac and replace with a different MacBooks time machine back up ?
I have a 2008 iMac and it's contents are backed up on my time capsule. I want to lend the iMac to my sister. She has a 2007 MacBook that is giving her problems. Her MacBook is backed up I
On a time machine file on an external. My question is
How can I replace all the data on my iMac with her time machine back up?Is it possible to create a new user log in on my iMac and have all the info from my sisters time machine file transfer? Then the iMac would have two users me and her?
Thanks -
How can i move my HDD and not get all exclamation marks?
I am having issues with my mouse and keyboarda nd need to plug them into the motherboard USB ports. But I was told earlier today that my external HD has to be in the one it was in when I synced it up, so if I move it across to a different port, how can i stop it from giving me 17000+ exclamation marks?
You probably don't want to run your external through a hub either. As long as your external drive is assigned the same drive letter iTunes should find the files on it but I noticed your other thread where someone suggested that you should use the same port as earlier. What happens if close iTunes, switch ports, confirm you have the same drive letter then restart iTunes? What other devices do you have that assign drive letters? Windows may assign these in a particular order as your system boots up but you should also be able to take control and assign a specific letter to a specific device.
tt2 -
How can I edit authorised computers and not deauthorise all 5?
I am trying to find out how I can deauthorise several computers without doing all 5 that are listed in my account?
You can only do that on the Computers themselves.
If you no longer have, or access to, the computer(s) you want to deauthorise,
You will need to Deauthorise all five,
Then re-authorize your current Computer(s) one at a time..
Authorise / Deauthorise About > http://support.apple.com/kb/HT1420 -
In the USA, there are a lot of bilinguals. Being Chinese and live in the USA, there are millions of people speak both English and Cantonese. There are no way in the OS that I can set it up to recognize both at the same time. I have added the international keyboard of English and Chinese. The default for Chinese Voice command when I switch from English. There is no way in OS that I can link the Chinese input in Keyborad Language to Cantonese. All the default of Keyboard input are link to Madarin.
Apple should make the change in the next OS that can link a keyboard language to different dialect for Chinese LanguageDrSQL wrote:
Apple should make
For them to see your request, you need to repost it at
http://www.apple.com/feedback -
How can i lock the position and size of all of my .app windows?
I have had this problem for a few months now; I would size the window of one of my apps (lets use safari for example) exactly the size i want it, then i position it exactly in the center of my screen because I'm OCD like that, then I'm just browsing the internet and i accidentally move the window so then i have to move it back. Sometimes it gets even worse and for whatever reason, my cursor is down in the lower right part of my window and i accidentally size it, then i have to go back and resize it to where it was. Please help me! there has to be a way to lock my windows positions and sizes! is there a widget or a program out there that can save my life?! Thanks haha
AFAIK, there isn't. All I can suggest is that you quit clicking and dragging the cursor. Use the arrow keys to scroll up and down. I don't have a laptop, but there might be a trackpad setting for the various swipe stuff that comes with them.
-
How to use Find and Replace for CR or TAB
How can I use PAGES 'Find and Replace' function to eliminate unwanted carriage returns or Tabs?
I tried to copy the backwards P and paste into Pages find window, but that doesn't work.
eMac Mac OS X (10.4.4) 1 G RAMCopying & pasting should work, but it isn't necessary. In the Find & Replace fields hold down the Option key & hit the return or tab key.
Peggy -
Find and replace help needed, multiple variables
Hi everyone,
Im trying to find all urls in my code that start in a particular way but have a number variable at the end, see examples below
<a href="/example/examplefolder/enquiry.asp?pid=123">
<a href="/example/examplefolder/enquiry.asp?pid=485">
<a href="/example/examplefolder/enquiry.asp?pid=284">
and replace them with one url, see example below
<a href="/example/examplefolder/default.asp">
How can I use Dreamweaver find and replace to achieve this across my whole website?
So far I only know how to find one thing and replace with another, rather than finding variables and replacing them with one thing.
Thanks for your help with this!In the Find field of the Find and Replace dialog box, enter this:
(href\s*=\s*\"\/example\/examplefolder\/enquiry\.asp)\?pid=\d+(\")
In the Replace field, enter this:
$1$2
Select the "Use regular expression" checkbox.
Explanation:
The two sets of parentheses are capturing groups, which capture the actual values as $1 and $2.
The \s* matches zero or more spaces.
\" matches a double quote.
\/ matches a forward slash.
\? matches a question mark
\d+ matches one or more numbers.
I have written a two-part tutorial on using regular expressions, which can be found here: http://www.adobe.com/devnet/dreamweaver/articles/regular_expressions_pt1.html.
Message was edited by: David_Powers (adding explanation of double quote). -
How can I multi-find and replace relative paths to external topics?
I am using RH7 and publishing to a company server share. External topics are saved on the same server share and linked on my local drive to create a relative link. How can I do a multi-find and replace on the relative links to change the path to the external docs? The paths do not show up in the Topics List because they are relative, not absolute. Although changing all of the many paths manually would be job security, I would like an easier fix. Thanks for any help.
Hello again
Likely your best bet at this point is to use a good Multi-File Find and Replace utility.
While RoboHelp has one included, it often fails. So we typically recommend something like FAR (Find And Replace) or BKReplace.
Click here to visit the FAR site
Click here to visit the page for BKReplace
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7, 8 or 9 within the day!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks
Maybe you are looking for
-
Ive got a problem with some red text printing greyscale for some reason and I cant tell why.
I set up a business card. I downloaded a vector logo from brandsoftheworld.com just like I have many times. I drop the logo in and get the card typeset. Then, on the person's name, I want their name to be red so I highlight their name and grab the Ey
-
[Microsoft][ODBC SQL Server Driver]Invalid character value for cast specifi
[Microsoft][ODBC SQL Server Driver]Invalid character value for cast specification An you help me with this error? This is the problemativ query: Search QUERY : SELECT DISTINCT theK_files.fileid, theK_files.name, theK_files.t itle, theK_files.descript
-
Testing Windows 8 Consumer Preview with ACS 5.2 PEAP auth
We are deploying ACS 5.2 to replace our ACS 4.2 in production. I have two wireless networks setup as WPA2-Enterprise. One points at the ACS 4.2 and the other at the ACS 5.2. Both use the same SSL certificate with the same CN. Both authenticate Wi
-
How to cancel NSInvocationOperation in a queue?
Hi I'm loading images into a scrollview, which loads in a NSInvocationOperation. But I want when I scroll the view to cancel the current operation: I used this method, but it doesn't cancel the operation. In the documentation stands that I must use t
-
IRecruitment Create Vacancy Approval need to change
Hi All, I need to change the approval style of Create Vacancy, currently it is configured as follows 1. Approver 1 approves the vacancy 2 . Approver 2 Finally approves the vacancy after approver 1. Now the change is the on level 1 we need to four app