I do i find and replace all in numbers
How do I find and replace all. It is time-consuming to find and replace one entry at a time.
Works here. As you can see, all three instances were located, in my test.
Can you think af anything that could be different in your case than in my example?
Jerry
Similar Messages
-
Using applescript for Find and Replace All in Pages 2.0
i saw that Pages 2.0 is scriptable
i try to create a script for merge use to find and replace all occurence of a certain string using a script but Pages doesn't seems to respond to "Find" even using "System Events"
how can i do to use this function with a script
Thanx for any help
S.B.
ibook G3 Mac OS X (10.4.6)OK, here's another example. This one gets the text as a string and uses the offset property to find "[", presuming it to be a merge delimiter. (Pages' text doesn't support "offset of").
One failing of this scheme is that the offsets are incorrect if you have inline objects (pictures, shapes, tables, etc.). While it is probably possible to compensate for them, that's a trickier proposition.
<PRE>-- Example merge replacements:
property mergeText : {"[name]", "John Smith", "[address]", "1234 Anystreet"}
on lookup(mergeWord)
set theCount to count of mergeText
repeat with x from 1 to theCount by 2
if item x of mergeText = mergeWord then
return item (x + 1) of mergeText
end if
end repeat
-- If merge field is not found, delete it (replace it with the empty string)
return ""
end lookup
tell application "Pages"
repeat
tell body text of document 1
-- Get text as a string so that "offset of" can be used.
set allText to it as string
set startOffset to offset of "[" in allText
if (startOffset = 0) then
exit repeat
end if
set endOffset to offset of "]" in allText
select (text from character startOffset to character endOffset)
end tell
set mergeWord to contents of selection
tell me to lookup(mergeWord)
set replacement to result
set selection to replacement
if (replacement is "") then
-- Get rid of extra whitespace (space or return)
-- Do it in a "try" block to handle edge cases at start or end of text.
try
set theSel to (get selection)
set ch1 to character before theSel
set ch2 to character after theSel
if ((ch1 is " " or ch1 is return) and (ch2 is " " or ch2 is return)) then
select character after theSel
delete selection
end if
end try
end if
end repeat
end tell</PRE>
Titanium PowerBook Mac OS X (10.4.6) -
In order to view my documents on my newly purchased Macbook Air I recently had to upgrade my 27" iMac to Numbers 3.2. The new version does fine for what I use it for except the new "find and replace" feature...It is TERRIBLE! It is so much slower than the older version. Plus I loved how the older version showed a table of all the matching word or items you're searching for and you could easily scroll through them to find the one that you were searching for.
My question is: Can you change the Find and Replace feature back to the way it used to be in version 2.3 or Number '09? If so, please show me how. I would really appreciate it.
The image below shows the new version on the left and the old version on the right just in case you don't know what I'm talking about...
Thank you.Hi The.Gav,
Sad to say, but that feature has gone in Numbers 3.2
This discussion may help (or not)
Numbers - How use Find like the previous version?
Regards,
Ian. -
Find and replace in RTF Template
Hi,
I'm using a if statement in my template, but i need to change a value within this statement. It's being used multiple times, therefor it would be easier to do a find and replace, is there a way to do a find and replace within the RTF template? Already openede it in Notepad++, but no luck
OsmanI don't think there is a way to find and replace all.. You can view all the code by using Field Browser -> Show All and then replace the code and update one by one from there..
Thanks,
Bipuser -
How do I create a multiple find and replace for Excel in AppleScript?
I have a large dataset in Excel that I have to do a multiple find/replace in (changing USPS state abbreviations to their full names). In searching the Microsoft boards--I was directed to use Applescript, and even the documented help with Excel was recommeding this. Unfortunately, there wasn't much help potinting me in the specific direction I needed. Any ideas on how I should write this script?
Thanks!I'm confused as to why Applescript (or any script would be helpful).
You'd have to type the abbreviation and the full name into the script, the same as just using Find and Replace All. You wouldn't gain anything by using a script. Is there more to this task than you've let on?
MacTech has an article on converting from VBA to Applescript, but I'm not sure if it would have any ideas on your specific problem: http://www.mactech.com/vba-transition-guide/index-toc.html -
"Find and Replace" for field names in a fillable PDF
Is it possible to do a "Find and Replace" for the field names in a fillable PDF? For example, I have multiple fields that contain the word "Proposed Insured" as part of the field name and would like to find and replace all of them with "Owner". Is there an easy way to do this?
Not really. Even a script can't just rename a field. It needs to create a
new field on top of the old one, but then you lose all the associated
settings, like validation, calculation, format, keystroke, etc. -
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,
AnahidIn 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 -
Prevent Find and Replace from closing after clicking "Replace All"
With the latest release of Dreamweaver CC (2014.1.1), there's been a minor change to the way Find and Replace works. I use Find and Replace a lot to clean up and delete code, so I might do many searches in a row to get things tidy. With the new version however, the Find and Replace window always closes after clicking "Replace All", which is very cumbersome. I need to open it up again, and it doesn't remember the text I entered to use as a replacement.
Does anyone know if there's a way to prevent this window from closing after doing a Replace All? The previous version of Dreamweaver would keep it open and remember the text either until I changed it or I closed Find and Replace myself.
Any pointers that would get me a little closer to the previous version's functionality would be appreciated!You need to do a find/change for each code individually, but it should be scriptable to take the .csv file and use it to load the find and change values. I'd try asking this over in the scripting forum: InDesign Scripting
-
How do I find and replace text in PHP files?
How can I in CS3 make sitewide changes to the text in PHP pages without changing variable names etc that have the same name?
For example if I have an installation of a PHP forum and I want to change every instance of the word 'forum' to 'message board'...
If I used the 'inside tag' search with " as the tag, then if "" contained a variable called 'forum' it would also be changed and therefore corrupt the code....
Is there a simple way around this?
Thanks!
I'm using CS3 on Windows Vista.It looks like you're trying to find and replace source code, so you may be able to look at the various places that are looked at when finding and uncheck the ones that don't apply.
But, if it's all source code then that won't help. One thing that may work is to expand the search option - for example if the work "forum" that you're wanting to change it preceded by another word, or character or something that sets it apart, then do you find on that. You can expand that search phrase as far out in either direction that you need to to make it different, if of course that is practical in your situation.
The only other way I can think of is to somehow create an exception rule, but I'm not sure if that's possible or how to do it. -
XML tag markers moved: Find and Replace causing problem in xml elements
Hi All,
I am doing find and replace using GREP. While using the expression like $1, $2 (Found Items) in the change to field it changes the placement of tag marker. If the found item is a part of two of more xml elements, I am getting a serious problem while replacing it. (ie. The xml tag markers are moved.)
See the screen shot below, then you may get better idea. And help me to overcome this issue.
This is just an example to show you what i'm trying to say, there are so many cases like this.
Original text/ Before doing find replace
After replacing
Green4everHi Peter and John,
but it seems to me that the example is looking for any space that
follows a semi-colon and has two word characters following it, and
repalce that with an em space. I think you could do the same using look
behind and look ahead and not need to replace the found text.
Yes you are right about the look behind and look ahead. I'd like to show some more examples to show what the actual problem is,
Original/Before Replacing,
(Consider there is another case here, instead of em-space some times normal word space will also be there)
Using the Grep:
Find What---------> ^(\d+\.(?:\d+)?)~m
Change To------------->$1\t
After Replace:
Did I make any sense? Eventhough this will not make any changes in the layout, my requirement is to insert the tab out-side the tag marker not indise.
Green4ever -
Find and replace value in Delimited String
Hi All,
I have a requirement, where i need to find and replace values in delimited string.
For example, the string is "GL~1001~157747~FEB-13~CREDIT~A~N~USD~NULL~". The 4th column gives month and year. I need to replace it with previous month name. For example: "GL~1001~157747~JAN-13~CREDIT~A~N~USD~NULL~". I need to do same for last 12 months.
I thought of first devide the values and store it in variable and then after replacing it with required value, join it back.
I just wanted to know if there is any better way to do it?for example (Assumption: the abbreviated month is the first occurance of 3 consecutive alphabetic charachters)
with testdata as (
select 'GL~1001~157747~FEB-13~CREDIT~A~N~USD~NULL~' str from dual
select
str
,regexp_substr(str, '[[:alpha:]]{3}') part
,to_date('01'||regexp_substr(str, '[[:alpha:]]{3}')||'2013', 'DDMONYYYY') part_date
,replace (str
,regexp_substr(str, '[[:alpha:]]{3}')
,to_char(add_months(to_date('01'||regexp_substr(str, '[[:alpha:]]{3}')||'2013', 'DDMONYYYY'),-1),'MON')
) res
from testdata
STR
PART
PART_DATE
RES
GL~1001~157747~FEB-13~CREDIT~A~N~USD~NULL~
FEB
02/01/2013
GL~1001~157747~JAN-13~CREDIT~A~N~USD~NULL~
with year included
with testdata as (
select 'GL~1001~157747~JAN-13~CREDIT~A~N~USD~NULL~' str from dual
select
str
,regexp_substr(str, '[[:alpha:]]{3}-\d{2}') part
,to_date(regexp_substr(str, '[[:alpha:]]{3}-\d{2}'), 'MON-YY') part_date
,replace (str
,regexp_substr(str, '[[:alpha:]]{3}-\d{2}')
,to_char(add_months(to_date(regexp_substr(str, '[[:alpha:]]{3}-\d{2}'), 'MON-YY'),-1),'MON-YY')
) res
from testdata
STR
PART
PART_DATE
RES
GL~1001~157747~JAN-13~CREDIT~A~N~USD~NULL~
JAN-13
01/01/2013
GL~1001~157747~DEC-12~CREDIT~A~N~USD~NULL~
Message was edited by: chris227 year included -
Find and Replace Issue Help Requested.
Hi all. I've been digging around for a couple of days and
can't seem to figure this one out. For starters, I have already
looked at the Regular Expression syntax and tried the MS word
clean-up option, but no luck. We have about 1,500 pages of content.
They are in DNN, so the pages are created dynamically.
Unfortunately, the page content was written in Word and then dumped
in DNN. We are trying to clean up the pages. We are grabbing the
content from Dot Net Nuke and putting it into Dreamweaver 8.0.2.
Then we are manually cleaning out things like:
<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" />
and
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"
align=left>
We are using the Find and Replace funtion in Dreamweaver to
clean out these commands, but I know from the documentation, there
is an easier way to clean these pages.
Bottom Line: Since the pages are dynamically built, I know I
have to grab the page content and put it in Dreamweaver manually
and then put it back in DNN, but I am trying to find a way (using
Regular Expressions or something) to look for all the little
variances of MSO, <?XML, etc. in a straight shot. I would like
to find a way to use a wild card to look for all tags that have MSO
or Microsoft or ?XML in them and then replace them with a null
value. From what I can tell, the Find would have to use a wildcard
because the advanced find features don't carry what I am looking
for. Something like Find \<?xml * [<-wildcard] to \> to
grab the entire tag. The Find tag command doesn't work because the
tags I need aren't listed. Also, because the content is dynamic, I
can't do a Fins and Replace against the entire site for these
commands, but it would be nice to "Find" all of these items with a
single pass since the "Replace" value is always null.
The wildcard syntax and multiple Find instances are the main
questions. The wildcards seem to be character or space specific.
Sorry for the long explanation - I just don't want to waste
anyone's time typing responses to things I've already tried to do.
Thanks in advance for any help. This is my first time back in
the forums in about 4 years.sadamec1 wrote:
> Well David, you Findmaster - it worked! (At least it
found and highlighted the
> code). Now, I need to dig through what you sent me and
compare it against my
> regular expression definitions to find out how to grab
the rest of these
> phrases. You're the best. Thank you!
Glad that it did the trick. Just to help you understand what
I did,
there are two main sections, as follows:
<\?xml[^>]+>
and
<[^>]+(?=class=Mso)[^>]+>
They are separated by a vertical pipe (|), so they simply act
as
alternatives.
The first one searches for <?xml followed by anything
except a closing
bracket until it reaches the first closing bracket.
The second one is more complex. It begins with this:
<[^>]+
This simply looks for an opening bracket followed by anything
other than
a closing bracket. What makes it more intelligent is the next
bit:
(?=class=Mso)
This does a forward search for "class=Mso". It's then
followed by this
again:
[^>]+>
That finds anything except a closing bracket followed by a
closing bracket.
The bit that you need to experiment with is (?=...). It's
technically
called a "forward lookaround". The effect is that the second
half of the
regex finds <....class=Mso....>.
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/ -
How do I include a line feed in the replace section of the
find and replace feature of Homesite 5.5?
Converting many lengthy files from <pre> and <tt>
formats into CSS. Presently the target pages have paragraphs broken
into short lines of text with CR/LF's on every line. I wish to
revert the paragraph back to 'wrapped' text with a single CR at the
end of the paragraph.
I can 'find' and eliminate the " ¶ " symbol from each
line, but I do not know how to "replace " text that should include
this symbol.
text</p><p>¶
This is some sample text to¶
show graphically the problem¶
I am having.</p><p>¶
New Paragraph¶
When what I want is :-
<p>This is some sample text to show graphically , the
problem I am having.</p>¶
<p>New paragraph
Presently I can add hash marks (##) where I wish the
paragraph to end. I then globally remove all the "¶"'symbols
that appear in the text. What I want to do now is replace the ##
with code which would produce the following two lines
</p>¶
<p>
I have tried many different codes, such as chr(13) and \r,
but they all just insert the code as straight text.
Can anyone clue me in?
Thanks, gil das far as special chars in simple F-and-R, I replace some
non-ascii chars by copying from a doc and pasting into the dialog
field.
That wouldn't work for CR/LF, so you have to use the extended
search and replace there as you found out.
Note there is also a function for "Replace Double Spacing
with Single Spacing" (on the menu, under Search).
Probably no help for this case, but good to know.
BTW, be careful with your extended search and replace on
CR/LF. If your lines don't end in a space and a CR/LF, you might
want to replace CR/LFs with a space. Otherwise the last word of one
line might be butted against the first word in the next line with
no space when the CR/LF is removed.
Of course that's not a great solution since it adds a lot of
spaces where you have CR/LFs, and you may not want them all
there...
There is a Remove Returns script that might be of use to you.
It's a lot more manual than you probably want for doing lots of
files.
http://www.wilk4.com/asp4hs/list5.htm#removereturns
let us know here if you find some better solution please,
good luck,
jeff -
After upgrading to RH8, all instances of "em dash" symbols in projects are now appearing incorrectly. When we insert the "em dash" symbol, we always eliminate any spaces before and after the symbol. All projects that have been upgraded to use RH8 now add a space after the symbol, which is incorrect.
I have also installed the RH updates and opened a project that had not been upgraded before the update installs...same problem.
Due to the size of the projects, I have tried using the Find and Replace feature within the HTML view; unfortunately, this did not work.
Has this issue been addressed with Adobe? I ran into a similar issue with the upgrade to RH7, where the HTML coding for em dashes would come through in the design view and final .chm output file. Does anyone know of a Find and Replace feature within RH that will allow me to remove every instance where a space appears after the em dash symbol? I have found the FAR tool but would like to avoid it if possible, as I have read it can corrupt RH files.There was one other post recently about this but otherwise this problem had gone quiet so I don't know why you are seeing it in a project that was not opened before applying the patches.
So turning to FAR, it is not the program that corrupts files. It is what the user does with it. As we usually say, it can fix a project in minutes and wreck it in seconds. That is because the user has not thought about what the search might find. For example, you might search for "class" thinking about your topic content but of course FAR works a code level so it will remove all your style classes as well. That is where the corruption comes in, not the software itself. It's rather like blaming the car for the crash.
If you back up first, there is nothing to lose.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Find and replace by text and style
We have a fairly large RH HTML project (300+ topics so far)
most of which have a specific heading in Heading2 style. We want to
change all of these to a style based on Heading2, but not use the
Heading2 style b/c we don't want them to show up in the TOC. I have
created a new style and can obviously open every topic and manually
select and change each one - but I'm hoping that one of your RH
gurus will tell me an easier way. Is there anything comparable to
MS Words Find/Replace that will search the whole project for a
specific word in a specific style?RoboHelp's Multi-File Find and Replace (in the Tools tab)
should be suitable for this job, and you can control each
occurrence as you choose. (Where this RH utility fails is when your
search string might sit on more than one line, which won't be the
case here.)
You'll run two replacement passes (spaces added to < &
> tags for proper viewing in this forum):
Replace < h2 > with < p class=YourNewStyle >
Replace < /h2 > with < /p >
The < h2 > and < /h2 > strings will never be
split between lines, so RH will catch every one.
BTW, Add me to the list of FAR boosters; it'll let you change
case, change file names, etc., etc., etc. Great tool!
Good luck,
Leon
Maybe you are looking for
-
OBB8 - Payment term configuration
Please help me with a terms code configuration. The terms are as follows: 2% 10th of the following month Net 30 I have the first part set up with a percentage = 2% and a fixed date = 10 and additional months = 1. This part is working fine. I can't
-
Can't remove norton toolbar from add-ons
i have w7, firefox 31 and norton security suite plus toolbar (for password vault) i now use lastpass. I wish to remove (beyond disable) norton toolbar i have tried two suggestions. If i go to add-ons, i only get "disable". i do not have option to "re
-
Using FTP to publish an iWEb site
I have my own personal domain name and hosting space so using the FTP feature in iWeb. I can fill out all the info, and 'Test the Connection' which it passes, but the 'Publish' button has dimmed as is the the menu option. Any ideas? I've tried making
-
Hello. Does any body know how to convert a flash movie into dvd-format? Is there a program that can do it? Thank you
-
Tables and grants in custome schema
Hi I have a created the following script which will be running from Apps. The script includes about 7 tables definitions to be created in Cust schema. How can I include the grant within the script. (grant all to cust.test). We need to log into cust s