The tag has no wiki summary.

learn more… | top users | synonyms (1)

1
vote
1answer
994 views

Find/Replace Paragraph End (^13) in Microsoft Word 2007 Merges Paragraphs

I need to replace a target at the beginning of lines with something else. Without wildcards, I can say to replace "^pTarget" with "^pReplacement". With wildcards enabled, I use replace "^13Target" ...
9
votes
2answers
8k views

How to find and replace the character “*” in excel

I am trying to find and replace the * (star, or shift+8) character in a bunch of formulas in Excel 2007. * of course matches the ENTIRE contents of the cell, which is not what I want. How do I ...
2
votes
2answers
232 views

Remove colons (:) from illustration index in Microsoft Word 2010?

How can I remove all the : from illustration index in Word 2010? FIG. 2.4: Representação em RDF/XML da FIG. 2.3 27 FIG. 2.5: Ilustração da Utilização do RDF com o RDFS 28 But I need this: FIG. ...
3
votes
1answer
434 views

Linux: Find all occurrences of “string1” in files under a directory and replace them with “string2”

In linux, what's a good way to find all occurrences of "string1" in files under a directory and replace them with "string2"?
0
votes
2answers
262 views

Using sed to replace a *large* number of variables in a file

I have a large number of log files, on a linux box, I need to cleanse sensitive data from before sending to a third party. I have used the below script on previous occasions to perform this task, and ...
7
votes
1answer
14k views

Find and replace in Notepad++ using wildcards/regex

I have a SQL dump with expressions such as youtubehd:2nj6bykw. The 2nj6bykw can also be a different random string. It is always 8 characters long. I want to replace youtubehd:2nj6bykw with just ...
2
votes
1answer
479 views

Notepad++ want to use RegEx to seek minimum-length strings

Only been using Notepad++ v 5.92 for a few weeks, and RegEx for a few hours (!!) I want to use Find & Replace for UPPERCASE strings of a minimum length to change them to "Title Case" or "Sentence ...
6
votes
3answers
5k views

Use Notepad++ to change under_score_case to CamelCase?

I can write a regular expression in NP++ to find under_score_case. I can use TextFX in NP++ to change case to upper and lower case by highlighting and selecting. How can I use either NP++'s ...
3
votes
4answers
2k views

What's the best way to find and replace text in multiple files over FTP?

How can you search and replace text in multiple files on an FTP server? Basically I need to change the Google Analytics information on a bunch of plain old HTML pages and I'm wondering if there is a ...
0
votes
4answers
6k views

How do I insert line breaks into a text file - not programming, not fixed width - via find & replace

This is a different from someone else's similarly-titled question. Neither Excel nor OpenOffice allow users to specify line delimiters, so I'm trying to replace semi-colons with line breaks. How do I ...
1
vote
2answers
4k views

MS Access 2007, find and replace character with new line

In Access 2007 how do I replace a character (say "~") with a new line. I have tried using the Replace box with ALT+010 but it is not accepted as new line. Any suggetsions?
1
vote
1answer
2k views

Excel - replace multiple strings in a single cell, based upon a lookup table

I would like to do a replace on multiple strings within a cell, based upon a lookup table. My lookup table has two columns: AUSTRIA | AT BRAZIL | BR COLOMBIA| CO My data table has two columns: ...
4
votes
4answers
2k views

Is it possible to edit a PDF file directly?

I have a PDF file that is produced as part of a help file compilation. There is always late breaking stuff which goes into a text file (e.g. "What's new in this version" type of stuff) and while Help ...
2
votes
4answers
1k views

Extracting text from a cell in Excel

I have a long list of items in Column A that includes a code and descriptive text. I need to separate the code from the text description. <ABC,1122, A1> - This is the text description The ...
0
votes
1answer
86 views

How to do Linux-like file modifications on Windows command line?

I need to do some more or less easy replacements in certain files on Windows machines. This is part of an automated software build process, so to be able to reproduce it on all build mashines I ...
2
votes
2answers
7k views

Using sed to replace string with special characters in XML file

I am having difficulty getting sed to replace a string of text in an XML file, despite the fact that I have no trouble using grep to find that same string. Since the new string and old string to be ...
2
votes
1answer
2k views

How to find and replace on regedit?

I use win_xp_sp3 inside my virtualbox i was mapped all the xp folder destination into my host machine in regedit. and now i need to change the my username and i don't remember all files i changed. is ...
3
votes
2answers
3k views

Notepad++ find and replace expression help

I want to find all content between two characters, say A and B: Asd;lfksjd;fsdfjs;ldfkB which would be sd;lfksjd;fsdfjs;ldfk and replace them. How would I write this expression?
10
votes
1answer
3k views

vim delete all lines that do NOT contain a certain word

In vim I can delete all lines that contain the word "price" with this :g /price/d How can I delete all lines that do NOT contain the word "price"?
1
vote
2answers
291 views

How can I do a batch find replace?

I'm writing a piece of software which requires the creation of a number of nearly identical blocks of code that only vary in a few locations which need to be replaced by a unique value for each ...
3
votes
1answer
349 views

Can I delete any line with a given search string?

In Vim, I'd like to search for lines with a given string, then delete them. Specifically, I'd like to find lines with the LaTeX commands \begin{frame} and \end{frame}, and delete them. =
1
vote
2answers
86 views

Trying to cleanse log files on a Linux machine, currently using sed

I have a large amount of log files that I need to remove sensitive data from. The sensitive data is provided to me in a text file and is prone to change. I had hoped to do the equivalent of this: ...
0
votes
1answer
301 views

Complex (?) Unix Text Replace Command

What's the command line equivalent of: For every file that contains "AAA" within its contents, find "BBB" and replace it with "CCC" Thus, the command would match and replace BBB in a file: ...
1
vote
2answers
393 views

Change YYYY-MM-DD to YYYYMMDD everywhere in file

I can't just delete all of the hyphens, because elsewhere they are used as minus signs. I can find these dates with [0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\} but I can't figure out how to keep those three ...
1
vote
3answers
254 views

Disable find and replace feature in OpenOffice.org

Can you disable the find and replace feature in OpenOffice.org Writer? We are a school, and the students are cheating by using this feature to avoid reading the entire document. We're looking for ...
3
votes
2answers
2k views

Using search and replace to remove line breaks in Open Office

I've imported a document into Open Office and it has a number of hard returns in wrong places. In MS Word, I could use the search and replace to simply get rid of them all easily, but Open Office's ...
1
vote
1answer
343 views

Add constant value to numeric XML attribute

Background Add a constant value to numbers matched with a regular expression, using vim (gvim). Problem The following regular expression will match width="32": /width="\([0-9]\{2\}\)" Question ...
1
vote
2answers
1k views

command line find/replace help

I've got a set of 5000+ files that I need to do a simple search and replace in. I have been doing it in a text editor (EditPlus) by opening 500 files at a time, doing a global search/replace, saving ...
0
votes
2answers
68 views

Replace “Month Date Time” formatted dates with “Month Year Date Time” formatted dates in multiple files

I have some files in a directory that contain dates that are formatted like: December 29 19:05:58 But they differ referring to the date that the file was created. Is there any way to do a ...
1
vote
1answer
919 views

How to replace a word with Regular Expression in Microsoft Word 2007?

How can I replace a word with Regular Expression in Microsoft Word 2007? For example, I want to find and replace all \n with some spaces.
8
votes
3answers
10k views

Can I search and replace in a Notepad++ macro?

I'm trying to create a macro in Notepad++ that allows me to do a few standard Search & Replaces. I can get the macro to do everything (add lines, add characters) except search and replace. I ...
3
votes
1answer
474 views

Something that can search and replace a hex string but for multiple files?

Hi I'm looking for a hex editor kind of thing but for multiple files? Can Windows Grep do this or does it only handle text strings?
3
votes
2answers
4k views

How to search & replace within a cell value?

I have a cell A and its value is 122abb12. In another cell B, I want its value to be the value in cell B but all 1 should be replaced by I - value in cell B should be I22abbI2. What is the function ...
1
vote
6answers
10k views

Find and Replace several several different values all at once

I have a file with multiple instances of Text_1 and Text1 and I need to replace both those strings with Text_A and TextB respectively. Currently I'm doing two Find and Replace functions on each ...
0
votes
2answers
2k views

In Word 2007, how to find&replace using wildcards for find without replacing the substring defined by the wildcards?

I have a document where there are many instances of two pieces of information on a single line, like assigned to John Doe, estimate 2 days and I want them to appear on two different lines, like ...
2
votes
2answers
837 views

Text editor on Windows to delete large block of copyright text in multiple source files?

Optional Background Information: [ The author of a Java open source project I am using has changed the copyright notice in every file in the project. As a result, I can no longer diff between the ...
8
votes
5answers
17k views

How do I find and replace a character in filenames in Windows 7 using Explorer?

I want to replace all the underscore characters (_) with a space () in a filename. How can I do this quickly, when I have lots of _ characters to replace?
0
votes
1answer
269 views

Run Find & Replace tool on multiple Word Documents (Office 2003)

How can I run the Find & Replace tool on multiple Word documents (whether open or closed, doesn't matter to me) in Office 2003? Thanks! OS is Windows XP.
1
vote
3answers
2k views

Using sed to replace text from a list of files from find

Given the following find command: find . | xargs grep 'userTools' -sl How can I use sed on the results of that command? output: ./file1.ext ./file2.ext ./file3.ext
1
vote
1answer
640 views

microsoft word variables across documents

Perhaps I'm just not Googling properly or not sure of exactly what I'm looking for, but I want to have global variables across multiple Microsoft Word documents. I also want to be able to update the ...
0
votes
1answer
2k views

Replace With Same Expressions in Notepad++

Let's say I have a text file with two columns of numbers separated by a single tab: 23 45 456 872 1569 489 78 357 789 94 and I want to be able to add an additional tab between the columns. ...
6
votes
1answer
4k views

How can I use newline with the Find-And-Replace in Visual Studio?

I've become rather fond of the "Find-And-Replace" function in Visual Studio. The function lets me replace phrases, words, symbols, or whatever you can type into the textbox on the screen. How can I ...
0
votes
2answers
2k views

recursively replace every instance of a word in a directory from linux command line

I have a directory with several subdirectories that all contain text files. In these text files, there is a certain word that occurs over and over again, and I want to replace every instance. My ...
2
votes
2answers
2k views

How can I do a text find and replace with a standard batch file?

Without any additional tools, using just the command line that comes with Windows 7, how can I create a batch file that will perform a file and replace of some text in a file?
1
vote
1answer
654 views

Any Repeating text/phrase finder function/software for text editor? replace/remove?

I compile my own PDF for my personal use from texts copied from other sources and other ebooks I have purchased. When I copy texts from other PDFs, the chapter title, page # and book titile appear ...
1
vote
1answer
325 views

Regular Expressions find/replace

How to I do a search for @anydomain.anyTLD using regular expressions?
1
vote
1answer
503 views

How to replace every text in a Mac folder?

In Mac OS, how do I find and replace a certain text in all of a directory and its sub directories?
0
votes
2answers
1k views

I want to replace a number with successive numbers, starting at 1 and going up

I'm aware that this is something people can easily program, but I'm not familiar with those things, so I was hoping there was an easier solution. I've edited a large database of questions, including ...
1
vote
2answers
584 views

How to scrub a document of all text between brackets with find and replace

I have a log file and I need to find all instances of <password> hash here </password> and remove the hash and replace it with some dummy text like aaa-aaa-aaa-aaaa. The recurring search ...
6
votes
6answers
17k views

How can I search and replace in multiple Word files?

I am looking for a way to do search and replace in many Word (.doc) files (for the purpose of automation of the process). The software I found so far only allows me to search, but not replace. How ...