Find/Replace Issue
I have a very long list of names I need to edit and hundreds have ^^ before their name I need to change to >> and hundreds have ^ after their name I need to change to >
I cant seem to change the ^^ before names without it also changing the ^ after the name.
tried whole word and quotes but that did not help either.
any suggestions? Thanks.
Yer welcome.
If you happen to use CS3 or CS4, use GREP to save a bit more time. That'll do the trick with just a single replace.
In the Find field, type
>\^\^(.*?)\^
and in the Replace field,
>>>$1>
Then hit Replace All. Note the different escape character, as this is GREP, which has different rules. (The caret still needs escaping because it is also a special GREP character.)
If you need to do this on more than one file, click the diskette icon at the top of the dialog. Give it a reasonable name, and it's ready to be recalled whenever needed.
Similar Messages
-
InDesign- Find & Replace issues?
How do I do a 'find and replace' as to change "quote" marks to "inch/foot" marks? It doesn't seem to want to accept the "inch" character in the field?
Thanks!
~eUse the little square button to access metacharacters.
I'm not sure, but you may have to go to preferences > general > and turn off use typographical quotes.
Also, go to the InDesign downloads on my www.jetsetcom.net site to download a cheatsheet of GREP and Metacharacters symbols.
Mike Witherell in London, England -
Find / Replace Usability issue
The find/replace in current file ( Ctrl/F) does not list all
its occurrences. Find/Replace (ctrl-Shift-F) in Files does provide
somewhat a more "reasonable" tracking of its operation, maybe if a
current-file option is added it will solve my problem?.
So, am I missing something ?
A good (and consistent) find/replace facility is a very
useful in a "large" project, I like the one in the Old & Good
Macromedia's Homesite. A full refactoring facility would also give
us developers more ammunition to rave about FB3 :)[email protected],
Can you please file a bug in the Flex Bug base at
http://bugs.adobe.com/flex/
and include a few steps to reproduce the issue you're seeing?
Thanks,
Peter -
My three year old ipod nano 4th generation has been working fine all these years. Suddenly, last week, while it was low on battery (not completely drained), it shut down and I cannot restart it. I have tried all the troubleshooting issues and still did not manage to turn it on. Though. when I press center and menu while connected to my computer, the computer bips has if it recognized that something is trying to connect. Though, it cannot identify it and the iPod remains shut down. I cannot find the issue, perhaps I need a battery replacement?
acwiz wrote:
My three year old ipod nano 4th generation I cannot find the issue, perhaps I need a battery replacement?
It's possible. Just take the iPod to an Apple store or an AASP. Whichever is more convenient for you. -
Font changes automatically in Lotus Notes & Excel Find/Replace pops up
I am using Win XP SP3 and FF 14.0.1
I recently (last couple of weeks) noticed that, when FF 14.0.1 is running, the font size, color, bold and bullet will change automatically in Lotus Notes. Sometimes the font changes from normal horizontal to all vertical. And these changes can reverse while I watch or continue trying to type.
Also, in Excel 2007, the Find & Replace box will automatically pop up and keep popping up after I close it.
My IT support suspected Malware on my laptop and loaded & ran Malwarebytes on my laptop and it found two items which I removed. But the problem was still there. Next we reinstalled Office 2007 and Lotus Notes 8.5.1 --- still did not solve the problem.
I began my FF troubleshooting by disabling add-ons one-by-one in the reverse order of addition (newest added was disabled first) until I got to the point before which I previously did not have this problem. But this did not find an offending add-on. (I still have these add-ons disabled.)
Next, I went brute force and restarted FF with '''ALL''' add-ons disabled (using the Help option to do so). This did '''NOT''' fix the problem.
Then I happened to find out that the problem went away -- completely -- if FF was NOT running. I have checked / verified this several times --- somehow FF 14.0.1 certainly appears to be the cause. As I recall I only experienced these issues AFTER I updated to FF 14.0.1
I hope a solution can be found -- otherwise I will no longer be able to use FF at work.Would be great if files could be attached when questions are being created. I exceeded the max allowed characters when I tried to paste my FF troubleshooting info. So, I had to delete many lines. I saved the info in a file, but no way to attach it before the question is posted.
-
Find/Replace highlights the wrong code
Hi, when using the normal Find and search for specific text in my AS3 class file, it highlights the right position where it found the matching text, but when I use the Find/Replace it totally messes up, it highlights the wrong text in my code, but it displays the right position in the Find/Replace window. Is there a way to fix that, or is this a known bug? See attached screenshot.
Hi,
Thanks for sharing the file.
The issue is with the End of Line(EOL) character. The file uses CR notation for its EOL and was used in Mac OS version upto 9 and in Mac OS 9. When a file is created using any of those versions of Mac OS then the EOL character would be CR which is obsolete now and is not recognized by many modern text editors.
If the EOL is LF or CR|LF then the Find and Replace will work as expected in Flash CC.
You can change the EOL of the file by opening and saving the file in Wordpad which will change the EOL to CR|LF.
Hope this information will help resolve your issue.
Thanks!
Mohan -
Bulk find replace in plsql pakages
Hi
WE have large app in plsql
the develper has put in debug statements that write to a logging table on the progression of the logic flow. however this line has been commented in produciton environment for perf issues.
we want to have the debug statemetns on in test environment.
for eg.
test env
pkgdebug.write "parameters that will be logged"
prod
--pkgdebug.write "parameters that will be logged"
every time we refresh our environment from produciton, Is there some way we can do a bulk find and replace of all the --pkgdebug.write with pkgdebug.write
there are over 300 customised pl sql packages, so doing them manually will be a nightmare.
pl helpunfortunately we cannot change the design of thsi process now.
we are forced to live with it. so if there is a way we can do a bulk
find replace, it would be best served.So you cannot change the design decision to update 300 packages, which you are apparently unable to do, on a regular basis, to a design as suggested by Kamal where you add a single line, one time, to the pkgdebug.write procedure.
if sys_context('my_app_ctx','debug') != 'TRUE' then return; end if;Which will effectively disable it until you write a little procedure, or trigger, in test to set it to TRUE, which will enable it. At that point you won't need to change a thing ever again.
Alternately you can search google for bulk edit tools. Here is a windows one for example
http://textpad.com/products/wildedit/index.html -
Applying Bolds and Italics while doing a Find/Replace on Data Merged content
Hi,
Wonder if you kind knowledgeable folks can help me with a Find/Replace question.
I am doing a data merge of a book contents into indesign, where my data merge file is a straightforward text csv file which is tab delimited. I have two (almost similar) things I would like to do to specific parts of the text but don't know how to achieve this.
- Firstly, I would like to preserve words/sentences with an 'italic' form but this is obviously lost in a csv file. Is there anyway I can mark these words in order that a find/replace can make this word italics. Im hoping there is a solution which resembles something like this;
eg. Book content is "The Word Italic needs to be adjusted".
Original content is amended to be "The Word $Italic$ needs to be adjusted", so that a dollar sign encapsulates the word to be made Italic.
Then I am able to data merge the csv file and somehow do a find/replace of words/sentences which are encapsulated by the dollar sign. Thus, doing a find/replace of all words/sentences which satisfy this condition and then apply italics to all words between the dollar signs.
- My other issue is I am using the '|' character in my text to determine the paragraph seperators. I then do a find/replace after importing the text to replace all instances of '|' to the paragraph seperator (a kind of $ symbol, a representative character from the pop-up menu to the right of the Change To box). This works fine, but I'd like to make the paragraph seperator to be a BOLD format so that it can distinguish better the seperating sections of text.
But this is different from my 'italics' issue above since I am trying to apply a BOLD format to the 'Change to' character, rather than something which exists in my original csv.
Hope I make sense but I'd be happy to provide screenshots etc (when I get home )
Best Rgds
Ltwo solutions.
for the italic solution, i'd say the OP answered his own question with one exception - don't use dollar symbols, instead use = or another character which isn't reserved by GREP.
the solution i would use for italics would be a GREP search once the merge is complete. have a look at the picture to see what i've done.
the second solution: GREP styles.
this assumes that the text will have a paragraph style assigned to it. make a character style called BOLD and within that style, the only thing to change is within basic character formats, make the font style bold. could even make the character another colour such as cyan so it is more easily idenfiable.
next, go to the paragraph style options, go to GREP styles and match the following screengrab
the advantage with a GREP style is that once the pipe symbol (|) is replaced, its bold GREP style character formatting is lost; and it means less post processing and no need for a second search of the text - it's all live. -
MS Word crashes when I do find/replace
Does anyone know what I can do about MS Word crashing when I do a find and/or replace in a document? It happens constantly. The interesting thing is that is doesn't occur every single time I do find/replace but the SECOND time I use the feature. The only way I can manage to avoid the crash is to do find/replace, then exit out of the dialog box, and then open it up again. If I do a find/replace once and then continue using the same dialog box, Word crashes. Also, find/replace doesn't work most of the time.
Help, please!!!
Many thanks.You may want to consider post your question on Microsoft's own forums for their Mac products, as they're more focused on the issue you're having then an Apple forum, as Apple forums only provide support for Apple products. Plus there's Microsoft appointed "MVPs" there to assist:
http://www.officeformac.com/productforums -
After 16+ years with Windows I have switched to the Mac. I found a longer and steeper learning curve than I had expected. I also found myself longing for Windows Explorer. The Finder just doesn't do the job for me. I need something closer to Windows Explorer. I know that Finder replacements are available. I would greatly appreciate some recommendations. I am open to trying a Unix file manager provided it uses X11.
Sleepless in New Jersey wrote:
To joshz
I greatly appreciate the time and effort you have taken to help me. Here are my replies:
I miss viewing all of my storage devices in one window.<<</div>
"Finder has this. Open a finder window, and click the icon in the sidebar with your computer's name. (NOT the hard drive name)"
I'm afraid I don't understand this. When I click on my hard drive icon, a window opens. I assume that this is the Finder window. Under Devices, it lists: my hard drive, iDrive, my external hard drive, Firefox(???),and my attached flash drive. Under places it lists: Applications, Desktop. my Home Folder, Documents, and Firefox(???). Under Search For it shows the six standard entries. Which of these is my computer's name?
Firefox you can probably just click "Eject" on, but that's a separate issue.
Under "Devices", the first entry should have a picture of a computer, with your computer's name.
Click it to see all of your devices.
I also miss the easy way in which Windows tiles open windows (2 clicks).<<</div>
"By "tiles", do you mean thumbnails? If so, just click the icon in the finder that has 4 squares on it, or press ⌘1."
I didn't mean thumbnails. Tiles was a poor choice of words. With Windows, a right click on the Taskbar at the bottom of the screen pops up a list of options. One of these is "Tile Vertically." A left click on it causes all open windows to appear side by side. This or something similar is what I would like to get from the Finder.
Could you use Éxposé? Just click F9 or F10, depending on your preference.
I like to view the contents of different drives in adjacent windows. I do it manually with the Finder.<<</div>
I miss the way Windows handles window resizing.<<</div>
"You can resize mac windows by clicking and dragging the bottom right corner. You can also click the green dot in the upper left, which tries to guess for you what size is ideal."
With Windows I can resize a window by click dragging on any side or corner of the window. I think this is better than the Mac's limitation of this function to only the lower right corner. I don't understand why Apple let Microsoft get ahead of the Mac in this regard with Windows 95 and every subsequent version. I can only hope that the Mac will at least catch up with Windows in the forthcoming Silver Leopard.
That's just something you'll have to get used to, unfortunately.
Once you set a window size for a certain folder in the Finder, it will stay like that until you manually change it.
Good luck!
Message was edited by: joshz -
Ware to find replacement parts
can anybody please tell me ware i can go to on the website to find replacement parts preferably the webcame cable for my webcam on my Pavilion DV2615nr npotebook
Mikie19598 wrote:
can anybody please tell me ware i can go to on the website to find replacement parts preferably the webcame cable for my webcam on my Pavilion DV2615nr npotebook
Hi,
http://www.ebay.co.uk/itm/561800701263-HP-Pavillion-DV2000-Webcam-Board-w-Cable-50-4F619-001-GENUINE...
Dv6-7000 /Full HD/Core i5-3360M/GF 650M/Corsair 8GB/Intel 7260AC/Samsung Pro 256GB
Testing - HP 15-p000
HP Touchpad provided by HP
Currently on Debian Wheeze
*Please, help other users with the same issue by marking your solved topics as "Accept as Solution"* -
Find & replace part of a string in Numbers using do shell script in AppleScript
Hello,
I would like to set a search-pattern with a wildcard in Applescript to find - for example - the pattern 'Table 1::$*$4' for use in a 'Search & Replace script'
The dollar signs '$' seem to be a bit of problem (refers to fixed values in Numbers & to variables in Shell ...)
Could anyone hand me a solution to this problem?
The end-goal - for now - would be to change the reference to a row-number in a lot of cells (number '4' in the pattern above should finally be replaced by 5, 6, 7, ...)
Thx.Hi,
Here's how to do that:
try
tell application "Numbers" to tell front document to tell active sheet
tell (first table whose selection range's class is range)
set sr to selection range
set f to text returned of (display dialog "Find this in selected cells in Numbers " default answer "" with title "Find-Replace Step 1" buttons {"Cancel", "Next"})
if f = "" then return
set r to text returned of (display dialog "Replace '" & f & "' with " default answer f with title "Find-Replace Step 2")
set {f, r} to my escapeForSED(f, r) -- escape some chars, create back reference for sed
set tc to count cells of sr
tell sr to repeat with i from 1 to tc
tell (cell i) to try
set oVal to formula
if oVal is not missing value then set value to (my find_replace(oVal, f, r))
end try
end repeat
end tell
end tell
on error number n
if n = -128 then return
display dialog "Did you select cells?" buttons {"cancel"} with title "Oops!"
end try
on find_replace(t, f, r)
do shell script "/usr/bin/sed 's~" & f & "~" & r & "~g' <<< " & (quoted form of t)
end find_replace
on escapeForSED(f, r)
set tid to text item delimiters
set text item delimiters to "*" -- the wildcard
set tc1 to count (text items of f)
set tc2 to count (text items of r)
set text item delimiters to tid
if (tc1 - tc2) < 0 then
display alert "The number of wildcard in the replacement string must be equal or less than the number of wildcard in the search string."
error -128
end if
-- escape search string, and create back reference for each wildcard (the wildcard is a dot in sed) --> \\(.\\)
set f to do shell script "/usr/bin/sed -e 's/[]~$.^|[]/\\\\&/g;s/\\*/\\\\(.\\\\)/g' <<<" & quoted form of f
-- escape the replacement string, Perl replace wildcard by two backslash and an incremented integer, to get the back reference --> \\1 \\2
return {f, (do shell script "/usr/bin/sed -e 's/[]~$.^|[]/\\\\&/g' | /usr/bin/perl -pe '$n=1;s/\\*/\"\\\\\" . $n++/ge'<<<" & (quoted form of r))}
end escapeForSED
For what you want to do, you must have the wildcard in the same position in both string. --> find "Table 1::$*$3", replace "Table 1::$*$4"
Important, you can use no wildcard in both (the search string and the replacement string) or you can use any wildcard in the search string with no wildcard in the replacement string).
But, the number of wildcard in the replacement string must be equal or less than the number of wildcard in the search string. -
Batch code for running a find/replace all on multiple files within a source floder/directory
What I need is a Batch source code that will open all files in a folder/directory and run a find and replace_all query within them and then save all the files. The files were created in Illustrator and saved using the Scene7 FXG format extension. These files will be uploaded into Scene7 as a group after the find and replace macro/query is run on the code. The same find and replace query will be the same for all the files. Basically this function or batch process will save time in setting the same parameters all at one time instead of having to set the parameters individually in scene7.
a source code sample of the find/replace module macro might be searchString: s7:colorvalue="#FFFFFFFF"
replaceString: s7:colorValue="#&txtclr;"
searchWhat "FXG document"
searchSource: true,
useRegularExpressions: true
I have no problems creating batch files within Ai and PhotoShop but I have limited programming skills in how to create source code for manuipulating documents outside of those apps or in a OS invironment.
I could probably come up witha simple program to do what i want for one document but i get lost when dealing with multiple documents in a source folder (prolbem is, I will be dealing with thousands of documents not 100 or less)
If anything which Adope cloud app would work best: Dreamweaver or Edge code (or just use my notepad)What I need is a Batch source code that will open all files in a folder/directory and run a find and replace_all query within them and then save all the files. The files were created in Illustrator and saved using the Scene7 FXG format extension. These files will be uploaded into Scene7 as a group after the find and replace macro/query is run on the code. The same find and replace query will be the same for all the files. Basically this function or batch process will save time in setting the same parameters all at one time instead of having to set the parameters individually in scene7.
a source code sample of the find/replace module macro might be searchString: s7:colorvalue="#FFFFFFFF"
replaceString: s7:colorValue="#&txtclr;"
searchWhat "FXG document"
searchSource: true,
useRegularExpressions: true
I have no problems creating batch files within Ai and PhotoShop but I have limited programming skills in how to create source code for manuipulating documents outside of those apps or in a OS invironment.
I could probably come up witha simple program to do what i want for one document but i get lost when dealing with multiple documents in a source folder (prolbem is, I will be dealing with thousands of documents not 100 or less)
If anything which Adope cloud app would work best: Dreamweaver or Edge code (or just use my notepad) -
I'm trying to get DW 8 to allow me to remove some of the
"found" items before using the replace function to avoid having to
open each file individually - but when I delete entries from the
"found" list, on r-click I'm given 3 options:
- Open File
- Find & Replace
- Clear Results
The Find & Replace option takes me back to the original
Find & Replace screen. With DW4 you have the option of deleting
some of the "found" entries before pressing the "replace" button.
Has DW really taken a backward step?I neevr used DW4, so I'm not certain how that worked. And it
doesn't look like you can delete entries from the Search panel.
You might use other techniques to limit your changes. Any
folders or files that are cloaked will not be updated by the
Replace. You can set cloaking for specific files or folders, or by
file extension (on the Site panel). Or, you could select only the
files you want to target and use the Selected Files in Site option
of the Find In drop-down. Or, you could use the Replace button in
the Find/Replace panel to go through the results one at a time,
rather than using Replace All.
If you are changing HTML tags or attributes, the Find/Replace
options are very powerful. -
Find & Replace text in html files
This is my first real attempt at using Automator, and it has become increasingly frustrating for me. I love the idea of Automator, nice interface, and it appears to be so easy to use. But, I can't get it to actually DO anything and I don't understand why.
Here is my goal:
to batch process multiple html files to remove certain characters and words (or replace them with empty space).
I currently open these files in Pages and do 6 separate Find & Replace commands for each file before I continue with my other processing tasks. This is very tedious and I believe the computer should be able to find & replace multiple items at one time. (I have used other utilities to do batch renaming and trimming file names before.)
All I want to do is select a group of files (usually 25 at a time) and have Automator get rid of all the unwanted words and characters before I open each file for final processing in Pages. I found a set of Automator actions for TextEdit which includes a Find & Replace action, but I've wasted over an hour so far trying to get it to work.
When I run the workflow, it acts like it's doing something, but the files remain unchanged. I have tried using actions such as Read Text File, Get Contents of TextEdit Document, Set Contents of TextEdit Document, along with 6 instances of Find & Replace, but I cannot get it to work.
I'm at a point today where I cannot afford to mess around with this anymore. I have to do it the long way in Pages or else I'll never get it done, but I want to get these Automator workflows to work before I have to repeat this task. (I do this at least once a week right now.)
Any ideas or suggestions? I've tried reading in the help menus and support pages, but perhaps I'm just not understanding something here.Any ideas or suggestions?
You might be interested in using TextWrangler. It can perform batch find-and-replace changes across multiple selected files.
Good luck!
Andrew99
Maybe you are looking for
-
Cannot Edit in Object Browser using Firefox 1.5.04
Hello Everyone, I've run into a problem on my installation of XE (Windows 2000, latest patches, 1.5GB RAM). In Firefox (1.5.04), when I go into Object Browser and bring up a stored procedure or function, the code doesn't show in the editor window. I
-
Hiya, some time ago I had problems with various things on my pc, any way to cut a long story short I was linked through to some indians and I gave them remote access to my pc and they were cleaning up the Problems and faults,and threats, viruses etc.
-
How do I transfer photos from iPhone to iPad
I have an iPhone 4S and would like to transfer my photos/videos to my new ipad2
-
Maximum data segment size for a process
Hello we have an issue in our proxy server with the size of a process. the process grow in size and when it reaches 4Gbytes, the process stop with an error that it cannot allocate memory, we check and there's plently of swap left,. all the ulimit set
-
I have used aol mail for 15 years, and tried to use mail in OSX , but I got the message that my mail server was not correct for OSX mail. My wife wants to. Keep aol mail, so I would like to be able to switch back. And forth? How do I change the sett