Operations that locate specific instances of conditions being met and replacing them.

learn more… | top users | synonyms (1)

1
vote
0answers
38 views

how to search and replace a 1000 character long string in ubuntu [duplicate]

Possible Duplicate: How can I do a recursive find and replace from the command line? one of our sites got hacked with a base64 hash that is about 1000 characters long. How can i search and ...
0
votes
2answers
721 views

Find and replace slashes with new linfeed in Excel 2010

Can anyone tell me how to replace a slash (/) with a linefeed in Excel 2010? I have a very long worksheet with words, origins, and definitions. In the origins column, some rows show multiple places ...
4
votes
2answers
6k views

Replacing all special/accented characters with equivalent regular characters in Notepad++

I'm trying to figure out a way to automatically search and replace all special/accented letters/characters (such as Â/Ô) with the equivalent regular letters/characters (A/O) in Notepad++. Tried using ...
0
votes
3answers
147 views

how do i turn a whole file into uppercase?

I have a file on a server on another campus that's all in lowercase that i need to changed to all uppercase. Is there any simple unix command that will do this? [i'm using PuTTy on a PC if that makes ...
0
votes
1answer
699 views

Replacing a certain string after a certain character in Excel

I'm organizing my Mame files in a way that all the games marked with mature (meaning adult content) are filtered out. I have a text file in Excel (one game per line) and I'd like to accomplish the ...
4
votes
2answers
2k views

How to “demote” all titles and headings in Word 2010?

I built a large help document for an application I wrote. I used all the default styles in Word 2010, including "Title", "Heading 1", "Heading 2", etc. Sadly, when I generated the Table of Contents, ...
0
votes
1answer
48 views

Select different parts of an line

I'm new to regexes and have a file that looks like this one: |60|493,93|1,6500| |60|95,72|1,6500| |60|43,88|1,6500| |60|972,46|1,6500| I used the regex (\|60|.*)(1,65) and I was able to find all ...
4
votes
2answers
2k views

sed: replace first occurance of a string in every line

Imagine I have a file like this: INSERT INTO table VALUES('1','<p><em>The lazy fox jumps again</em></p>bunch of other html<p><em>Is the lazy fox ...
3
votes
4answers
5k views

Excel Smart Find and Replace only specific characters

I want to change INT to INTERNATIONAL and NA to NATIONAL ASSEMBLY in whole excel workbook through an excel Macro or Find and Replace dialogue box. But when I run the macro or change it through Find ...
3
votes
1answer
4k views

Replace text when in visual-block mode

Maybe I'm searching the wrong way, but I've failed to find out how to do this. Here's the scenario: I have a list in a text file where I want to insert the same word on multiple lines, here's an ...
3
votes
2answers
36 views

How to insert a recent search pattern to use for search-and-replace in vim?

I've entered some search pattern in vim using / command. Now, I want to replace those occurrences I've found with something else. How do I easily insert the recently used search pattern into the :%s/ ...
0
votes
1answer
86 views

How to convert part of file to lowercase?

Using gVIM on XP How can I convert the left side of this file to lowercase while keeping right side unchanged? %s/**what goes here?**/g CONVERTTOLOWERCASE###Keep CaSe AAAA###AeiOu BBBB###qWerTy ...
3
votes
1answer
347 views

Find Replace - Args out of range?

Using: GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-03-25 on allspice, modified by Debian I am trying to do some simple find and replace. Not a big deal. I'm not even using ...
1
vote
1answer
449 views

Prevent inadvertent replacement in notepad++

Is there a way to make Notepad++ to ask for confirmation when replacing all instances of a string in a file or files? This is to prevent inadvertent replacement.
3
votes
2answers
3k views

How can I search and replace in Firefox?

I am moderator on a site with lots of structured content and regularly edit posts for poor formatting (in particular Markdown and LaTeX). Many of those tasks are tedious and could easily be performed ...
2
votes
2answers
466 views

Regular Expression Help Needed in Notepad++

I need to know the syntax for a regular expression (notepad++) to help me find/replace every instance of following string in a text document the string is as follows Where do you want to go next? ...
1
vote
0answers
588 views

Sublime Text 2 search and replace multiple words

I want to replace multiple words using regex in just one search accross all files. Something like this: Find: (dyspnea)|(jugular_swelling) Replace: (dispnea)|(turgencia_jugular) And this would ...
1
vote
1answer
1k views

Change font of all Hebrew text

I need to use different fonts for English and Hebrew in the same document. How can I change the font of all the Hebrew text, possibly using Find-and-Replace?
2
votes
0answers
165 views

How can I add non-breaking space (&nbsp;) in dates using search and replace in DreamWeaver

Example: January 1, 2012 This is the current text, but I want to change the source code to: January&nbsp;1&nbsp;2012 automatically using search and replace. There are multiple dates ...
2
votes
3answers
116 views

using vims pattern-multi-items {n} to match the 5th space in a line

With this entry from our crontab 1 3 1 * * find /var/log/tomcat/* -mtime +61 -type f -delete I want to match the 5th space char so I can separate the command part from the time field part. Cron ...
0
votes
1answer
811 views

How can I find and replace multiple blocks of text in multiple documents all at once?

I tried searching for this everywhere but couldn't find any solution. I have 100 html pages with various text to translate. I have also the translated text ready on a word document. So what I have to ...
0
votes
2answers
83 views

Search and replace text and everything that follows in the same line

How can I search for a certain string in multiple files (with a given extension) in a directory and replace everything afterwards (including the search string) with a blank string? Example I'm ...
29
votes
5answers
31k views

How can I do a recursive find and replace from the command line?

Using a shell like bash or zshell, how can I do a recursive 'find and replace'? In other words, I want to replace every occurrence of 'foo' with 'bar' in all files in this directory and its ...
2
votes
2answers
3k views

How to replace one line to two lines or more on a text file using the “find and replace mode”?

Right now I'm developing a script with vbscript and I need to find one specific line(with a lot of occurrences) on a 5k lines source code and replace it to two new code lines(1 line to 2 lines ...
0
votes
1answer
579 views

Using RegEX To Prefix And Append In Notepad++

I found this question on StackOverflow. It worked great but I also need to include lines that have non-alphabet characters in it like: some_name some.name And add prefixes like this: ...
0
votes
1answer
1k views

Find and Replace text (FART): Replaced 0 occurence(s)

The great FART utility seems to be the norm when trying to replace text on the windows command line. However I can't get it to work as shown in the examples. My test file test.txt: Images Here ...
0
votes
2answers
490 views

search, remove duplicates and marge to one file

What is going to be my best way to search and remove duplicate's from over 50GBs worth of text files and merge them into one? I figure a GUI app will just hang so I need a CLI style with threading ...
2
votes
1answer
3k views

Replace a block of numbers in sed

I've been fiddling with this for a while now and can't seem to figure it out. What I'm trying to do is replace all numbers in a file with a single #. Sounds simple, and it should be, but I can't get ...
0
votes
1answer
726 views

editing PDFs (find and replace '&nbsp;')

What method/program could I use to perform a find and replace to turn '&nbsp;' into ' ' in a PDF file? I can use either linux or windows solution. EDIT: The addon for OpenOffice Draw to access ...
3
votes
1answer
5k views

Delete all text before and after a certain string

I have some URL like the following http://www.SOMEURL.com/first-category/1343381-example-text-text-text-text-2000-a.html What I want is to simple delete all of the text before and after the number ...
0
votes
0answers
396 views

Implementing find and replace using NPPExec in Notepad++

How do we perform find and replace using NPPExec plugin in Notepad++? Any help (command/resource) in this regard will be greatly appreciated.
3
votes
2answers
349 views

Append lines one after another in notepad++

How do we achieve the following using replace function in notepad++? Transforming the following cow horse elephant camel into 'cow','horse','elephant','camel' I know ^ and $ (under Regular ...
0
votes
2answers
604 views

Notepad++ Find & Replace (with regex) issue

I'm going crazy on a weird issue, I've been trying to find this text: CREATE Proc [dbo].[procName] (@EMI_ID numeric(8), @ESYNTH_ID numeric(8), @FLD_ID numeric(8), @SYNTH_ID numeric(8)) As And I use ...
0
votes
3answers
1k views

Excel or Batch - Trying to Automate Text Correction (Many Changes; One or More Characters Each)

I have a lot of lines of text. I can put them into a text file or into an Excel spreadsheet. They need many changes. Here's an example of a before and after: Input: I&#39;m buying one! Only ...
0
votes
2answers
75 views

Search Replace extended in a html file

i have a little question. I have a big html file and want to replace lots of things inside a lot of times. The only problem i cant solve is a replace with a variable. Example: <image ...
2
votes
1answer
1k views

Removing HTML tags in Notepad++

I'm trying to remove some tags using the Find and Replace feature of Notepad++. What I'm trying to remove for example is <num> and </num>. Right now I'd input <num> and replace it, ...
-1
votes
2answers
282 views

Find and Replace using different keywords

Example. I want to find and replace using: Test1 Test2 Test3 Of course I have to input and click it 3 times in order for me to find and replace using those terms. How do I do it in one shot? Does ...
32
votes
1answer
19k views

Search and replace with TAB character in Sublime Text 2

In Sublime Text 2, I want search and replace by the TAB character. I tried replacing with \t char but it's not working. How can I do it?
1
vote
2answers
4k views

Find and replace block of text (with other blocks of text) in multiple files [closed]

Is there a FREE utility out there for replacing blocks of text? Something like notepad++'s find in files works for simple lines but in my case it's unusable since I need to target the entire block to ...
1
vote
2answers
234 views

replace all names with an alternative using Stream editor (Sed)

I got this question on a task. Nothing works.. Can someone help me? Write a sed script that replace all names with an alternative, search for every words that: Start with a capital, Longer than ...
1
vote
2answers
2k views

Notepad++ RegEx does not work with min and max occurence

I want to find two or more (max 9) white-space characters and replace it with newlines. My RegEx syntax is as follows: [\s]{2,9} However, Notepad++'s RegEx doesn't seem to work with curly braces. ...
5
votes
2answers
3k views

how to do a vim search inverse search for all lines with out text

with grep I can do a grep -v "my search" to get all the lines with out "my search" with sed I can sed '/baz/!s/foo/bar/g' to find replace text on lines with out baz Is there a way to do the same ...
0
votes
1answer
656 views

In MS Access 2008, how do I search for asterisks (*)

As * is a wildcard character that matches any string, it gives me the first row, not the first row containing an asterisks.
1
vote
2answers
3k views

Excel - find and replace images?

I exported a huge page from confluence into excel and it has a few columns that contain images. I need to convert them into text before I do another transition but this would be totally killing to do ...
1
vote
1answer
633 views

Linux shell script: copy a (text) file and replace a token with a path

I need to create a text file where parts of it should be replaced by any arbitrary path. I wanted to do that by copying a template file and then replace a special pattern, e.g. ${MY_PATH} with the ...
0
votes
1answer
231 views

Bulk search and replace [duplicate]

Possible Duplicate: Bulk search and replace I have more than 1000 php files. I need to BULK search and replace a text. I want to search and replace both file content and filenames. Is ...
3
votes
2answers
772 views

How do I replace all WOrds with FAlse SEcond LEtter Capitalization in lots of Word documents?

I need to mass-correct large amounts of documents in German. I need to handle several hundred pages of text. I have written a macro to do mass find-and-replace operations on common spelling mistakes. ...
1
vote
1answer
2k views

Search & replace with wildcards and variable length strings in Notepad++

I am trying to edit a series of strings in Notepad++ using search & replace. What I'd like to do is to search for a particular piece of HTML code, then delete a portion of it. The challenging ...
1
vote
1answer
3k views

How can I remove unicode characters in a Microsoft Word document?

I'm saving a Microsoft Word document as a PDF but it is warning me that there are a few problems including the fact that the document includes Unicode characters. I'm not sure what characters it is ...
5
votes
1answer
413 views

How can I insert a page break using Find/Replace dialog in Word 2007?

I'm trying to replace "----------" with a new page or a CTRL+enter keyboard shortcut. I pasted "CTRL+ENTER" into the "Replace With:" field in Microsoft Word 2007, hoping that when I clicked "Replace ...