The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
31 views

Search and replace with different formatting style

In LibreOffice or OpenOffice Calc spreadsheet, is it possible to search-replace while changing formatting of the replacement text to subscript or superscript at the same time? I have a spreadsheet ...
0
votes
1answer
24 views

replacing 2 different words with each other [closed]

I want to replace 2 different text sentences with each other using only Find and Replace which you find amongst the most common word processing packages. For example let say I want to replace: ...
3
votes
2answers
78 views

How to format a string substitute, or a text line, in Vim?

Is it possible to format the replacement string when substituting a match with Vim? Say I have a file with a 2-column table, where the entries in each row are separated with a space. The entries (and ...
0
votes
1answer
38 views

Handling punctuation in text pattern with vim search/replace

In vim we have the :substitute command that searches for a text pattern and replaces it with a text string. How does one handle a text pattern with punctuation in it? Minimum working example: the ...
0
votes
1answer
9 views

Change Identical Code Strings in Multiple, Separate Files in One Command

How can I change strings of code in multiple HTML documents which are all identical to something else? If I have doc A and code , and is replicated in doc A, doc B, doc C, ..., then how can I get the ...
1
vote
2answers
62 views

How Do You Replace Individual Periods/Full Stops Without Replacing Decimal Points?

A bit of an awkward one, this; I've been gathering data using an eye-tracker, which gives its output as .txt files (Excel is also an option but there are too many samples so notepad it is). I need to ...
2
votes
2answers
51 views

Notepad++ regex replace

id like to replace all the random numerical values to a solid value of a code random values ex: DELAY : 214 DELAY : 1243 and id like to replace all them to DELAY : 1
0
votes
0answers
33 views

Replace txt with space in a specific column

I am searching for a way to look into a specific column , and if the there is Char in that column (mostly date) I need to replace it with spaces. Example: 123456789(20140109A). Columen number 10 ...
1
vote
1answer
47 views

Search, copy, paste, edit string in hex?

I'm using Windows 7 64-bit. I've got around 10,000 or so files that I want to edit. The trouble is that's just far too much to do by hand. I'll explain what I need to do below. In these files, there ...
2
votes
1answer
41 views

How can I add an additional line break (paragraph return) to each line break found in an Open Office Document?

I have tons of text that runs together paragraph breaks like so: off the wounded, and with the same calmness and composure as before resumed the watch over his armor. But these freaks of his guest ...
0
votes
1answer
101 views

Quick file search for text

I was forced to use Visual Studio and wave off my favourite Notepad++. Now after coming back to Notepad++ I can see how slow it searches for fiels, where Visual Studio had "Solutions" where files ...
2
votes
2answers
510 views

How to replace a specific character between specific words?

Would you be able to help me in finding out how I can use the Notepad++ Find/Replace function to replace a specific character between specific words. Please see the example below, I would like to find ...
2
votes
3answers
95 views

Word find/replace: add space to postal code with wildcards

Using the “Find and Replace” dialog in Microsoft Word 2003, I want to search a list of addresses for postal codes (Canadian) that do not have a space in them, e.g., M2N3X6 L4C2A9 K5G1S7 and put a ...
1
vote
2answers
214 views

How to search and replace a string in multiple text files (within a directory) with Windows CMD? Part 2

This is in relation to this question . Unfortunately, PowerShell scripts are disabled on the system I am working on. I can't even use a simple (Get-Content). I did figure out how to do change ...
0
votes
1answer
128 views

How do I find and replace 'whole words only', in Microsoft Word?

I want to be able to find and replace eat with Eat in Microsoft Word 2007. However, I don’t want to replace every occurrence of eat such as those that can be found inside other words such as great and ...
1
vote
3answers
36 views

How to Copy words highlighted after search directly into command line with shortcut?

Here is the situation, for example, I have several lines like this: foo test foo I searched "foo" with "/" and all the two "foo"s above are highlighted. And now I want to replace "foo" with ...
0
votes
2answers
697 views

How to search and replace a string in multiple text files (within a directory) with Windows CMD?

I have multiple text files within a directory, each of which I want to replace every occurrence of the string 1 setlinewidth to 10 setlinewidth. How do I do this via Windows cmd? Please help.
4
votes
1answer
124 views

ms excel find and replace @ symbol results in broken formula

I'm trying to search and replace in excel, the column is formatted as 'Text'. Find: [@ replace with: @ Whenever this finds a match at the start of a cell i.e the cell contents start with [@ and ...
1
vote
1answer
52 views

Notepad++ Undo undoes whole replace history

In Notepad++ (v6.5), having done a series of Find-and-Replace-All's, hitting CTRL-Z seems to undo the whole series. Hitting CTRL-Y redoes the whole series. Can you undo only the last Replace-All ...
0
votes
0answers
13 views

Find and replace to change order of test response order

I am using find and replace to reformat test banks copied and paste as plain text in MS Word 2011. My pasted text comes from tables, so the test question are in this order: a, c, b, d. I want to use ...
0
votes
1answer
42 views

Insert new line before each operator [duplicate]

Suppose I have a line like this: abc + def - vfg * I want my output to be like this: abc def vfg If only a single operator is there, I can replace: \r\n+ with + but how to do it irrespective ...
1
vote
1answer
30 views

Equivalent of find ** in Sublime Text 3

I would like to search all files in a subdirectory where the filenames match an expression (e.g. *.html) in my project. In zsh or Vim one would use an expression like this: subdirectory/**/*.html ...
1
vote
2answers
79 views

How can I remove certain parts of a word document?

I have a word document filled with Physics equations and annotations. I want another word document to be a copy of the first document but with the annotations removed. I have all the annotations in ...
0
votes
0answers
43 views

How can i keep and remove some charecters from specific line notepad++

i have about 1000 of 80000 rows that looks like these lines and with different disposition ...
0
votes
1answer
242 views

Add new line after words matching a specific pattern

I'm trying to add a new line before and after a hyphenated word (one or many hyphens) in Notepad++ Input This is a search-and-replace test which I need-help to figure-out</h2> Output This ...
0
votes
2answers
76 views

replace a specific word in hundreds of files

I have a folder tree structure with hundreds of java files distributed in various sub folders I want to replace a word Foo with FooBar in each and every file Individual instances of Foo should change ...
1
vote
2answers
995 views

How can I find and replace multiple values within selected cells?

I want to run a find and replace on multiple values within a range in excel with values from 2 columns: A with the original string; B with the replacement string. I already found a macro that is ...
2
votes
2answers
103 views

Replace 'her' with 'him' and 'his'?

Is there a software/script or any way I can replace all the her in a document with him and his wherever which one's applicable respectively automatically? example Calls her and tells her that her ...
0
votes
1answer
365 views

Script for modify file content in specified files

I tried searching previous questions but none worked or I couldn't adapt them to my needs I want to write a script that asks for: folder criteria old string new string And replace every file in ...
2
votes
1answer
77 views

Saving part of found term when replacing in Notepad++

I want to use Notepad++ to find/replace large chunks of code, but a hefty part of it deals with arrays. How can I put a "variable" in Notepad++'s Find/Replace window so that part of it can be saved ...
0
votes
0answers
37 views

Find and replace in libreoffice writer formulas?

Is it possible to somehow find and replace expression in formulas (equations) inserted in a libreoffice writer document? I want to replace "vec" by "bold" in all my formulas in a book size document. ...
0
votes
0answers
61 views

Is it possible to search&replace text in multiple files in FreeCommander?

I need to replace occurences of some text in many files. I've found the option in FreeCommander to search for that text in multiple files, but I can't find an option to replace that text in that ...
1
vote
1answer
60 views

Need help formulating a Vim Search & Replace

I have a large html file in which I need to search and replace over 2000 occurrences of specific string. I could do it manually but I'm sure there is a power Vim search and replace command that could ...
0
votes
1answer
118 views

Find and replace from Terminal and write to a new file with the replaced values

I have a file template.jou that has the following format: /codeline1 /codeline2 /var = var /codeline3 Now I want to replace the var part with different values like A, B and C and then write the ...
1
vote
1answer
2k views

Multi-Line Sed Replace

Consider the following text (incidentally, part of a MySQL dump): CREATE TABLE `table` ( `id` int(10) NOT NULL auto_increment, `name` varchar(100) NOT NULL default '', `description` text NOT ...
2
votes
0answers
46 views

How do I stop command-f from sharing state across applications on Mac OS X (10.8.2)?

If I have a find bar (command-f) open in two applications, and I change the text in one, the text in the other changes to match as soon as I tab over to the second application. Is there a way to turn ...
0
votes
2answers
94 views

Find and replace files accross Windows

Is there a way in Windows to find and replace all files? Could PowerShell do this? I have a .dll file that I have a bunch of and would like to update them all with one click. EDIT: I would like to ...
0
votes
2answers
131 views

Regex replace with Notepad++

In my XML file there are lots of sub strings starting with STDSUP- and then three digits. For example: STDSUP-123. I would like to replace the STDSUP with CCDA. There are some sub strings where ...
1
vote
1answer
70 views

Convert command-line commands from one tool to another in notepad++

I have a script with lots of lines like this: ss Get $/%SS_SOURCE_PROJECT%/DLL/Vim25Service2005.dll -I-Y -R -VL%2 ss Get $/%SS_SOURCE_PROJECT%/97AUTO/*.* -I-Y -R -VL%2 We're migrating from one tool ...
2
votes
2answers
626 views

Multiple search and replace actions in one large text file

I have a big text file (about 2GB). I want to do five search and replace actions on the same file, and would like to do this in one command. Normally I use vim, open the file, do one replace action, ...
0
votes
5answers
2k views

replace given char with ascii nul in notepad++

Tried extended search --> replace with \0 but does not seem to work. Instead it deletes all occurrences of the char. Could it be a bug ? NB : replacing with \n, \r\n and the like works in extended ...
0
votes
2answers
90 views

Find and Replace

I would like to find and replace a word such as banana and then I'd like to add the number 1 to the first word, number 2 to the second, and No. 3 to the third and so on. there is an easy way or do I ...
1
vote
1answer
143 views

Fast Regex (Regular Expression) Replacer (offline program) [closed]

I often have to manipulate large text files with regular expressions. For example, just yesterday I had to modify a 157MB file to reformat a list of ~1.6 million lines of TSVs to move one of the ...
-1
votes
1answer
130 views

Grep : Windows version, free alternative? [duplicate]

I am trying to source a tool for performing a search and replace of text files in a directory. I think this is similar to what grep does for linux. I was hoping to find a tool with a gui so I could ...
1
vote
1answer
44 views

Matching html paragraphs with at least one word in all caps

Using regex or anything, I need to match any paragraph which contains at least one all caps word. Then transform it into a header and capitalise all the content of the title. In the example below, ...
2
votes
2answers
160 views

Microsoft Word 2010: “replace all” with same word + something else

I want to find all bolded words and replace them with the same word, unbolded, but with a symbol after it indicating that it was bolded. So for example Yesterday, love was such an easy game to play. ...
2
votes
3answers
472 views

Substituting a multi-line pattern in an HTML file

I have a series of HTML files that contain two lines like this: <body> <h1>Title</h1><p> <a href="url">Description</a><br> I want to replace this text with ...
0
votes
0answers
87 views

LibreOffice Calc - Search and replace merged cells

Is there any way to find merged cells with the Find & Replace dialog and replace the cell content in all of them?
0
votes
1answer
267 views

How to find and replace an entire line (random last 40 characters) with notepad++ using regex?

I need to replace something like this: userPassword: {SSHA}hLPcGtsS+sUhwlYq/23dsECuRGsvJj59OQXXJQ== with something like this: userPassword:funkypassword I have tried some random stuff I've ...
1
vote
1answer
197 views

How do I set the default search direction in Word's Find and Replace from `down` to `all`?

How do I set the default search direction in Word's Find and Replace from down to all? I really hate how "helpful" Word is by asking me constantly if I want to search the rest of the document.