The tag has no wiki summary.

learn more… | top users | synonyms (1)

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 ...
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
1answer
264 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 ...
0
votes
2answers
170 views

Selecting all css properties with brackets to erase them

How would one search, within a CSS file and using Komodo Edit, everything inside and including the brackets from every CSS style rule. I need to end up with a list of CSS classes and IDs erasing all ...
0
votes
1answer
480 views

Regular Expression to replace part of URL in XML file

I need a regular expression in Notepad++ to search/replace a string. My document (xml) has serveral thousand lines that look similar to this: <Url ...
0
votes
2answers
410 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 ...
0
votes
1answer
46 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 ...
0
votes
1answer
607 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
67 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 ...
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 ...
0
votes
1answer
98 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 ...
0
votes
1answer
237 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 ...
0
votes
1answer
116 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 ...
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 ...
0
votes
1answer
352 views

Switch characters in MAC address from a variable

This batch is used with a few other files as start-up scripts as a part of the Symantec Ghost Cast re-imaging process for Windows 7 we are about to undertake. Together they totally automate the entire ...
0
votes
3answers
132 views

How can I perform a large number of different find/replaces?

I have several times had a text document which I need to apply several hundred find/replaces on. These find/replaces do not follow a pattern which regex can be reasonably applied to, and need to be ...
0
votes
1answer
396 views

Multi-line find and replace across multiple files on linux

I have: Old Google analytics tracking code oldcode.txt New Google analytics tracking code newcode.txt 100+ html files *.html in one directory Is it possible to replace former with latter in all ...
0
votes
1answer
87 views

How to find and replace number as text?

I have a column with the following content: Column --------- 01.6221 01.6222 01.6223 I need to replace all the "01" with "10", but for some reason when I do the replace, the dot disappears. ...
0
votes
1answer
102 views

Find and replace special characters

How can I replace this character (_) with this one (:) in a list of filenames? The filenames are like this: 1_0_1_1AE1_7F6_2_11A0000_0_0_0.png The problem with character replacement programs is that ...
0
votes
1answer
191 views

How to find and replace special formats in word processors?

Currently I have Word 2010 and Word 2013 Preview (and OpenOffice 3, LibreOffice + LyX 2) installed. And I want to do this: I have long document full of content that is sadly broken down by ...
0
votes
1answer
420 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 ...
0
votes
1answer
72 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 ...
0
votes
1answer
427 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 ...
0
votes
1answer
168 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 ...
0
votes
1answer
81 views

Find in files list of values

I have a list of values, and I need find each value one by one in a folder (and its sub-folders) with files, and then save the results (list of files for each entry). Is there any tools to do this? ...
0
votes
2answers
165 views

Find and replace all blanks with underscore characters in Windows 7 dialogs, or PDF form dialog

Within Windows 7, I use utilities such as PDFCreator; I would like to locate a keyboard shortcut utility to find all instances of a character (e.g a blank) in a single line dialog form and replace all ...
0
votes
2answers
251 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 ...
0
votes
4answers
5k 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 ...
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 ...
0
votes
1answer
294 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: ...
0
votes
1answer
252 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.
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 ...
0
votes
2answers
306 views

How to replace spaces with dashes?

I am looking to replace spaces between words in a field with dashes "-" Example: From: "See it here" To: "See-it-here" customer faqs how we can help planning your budget customer case ...
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
23 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: ...
0
votes
1answer
37 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 ...
0
votes
0answers
32 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 ...
0
votes
2answers
207 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
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 ...
0
votes
0answers
42 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
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 ...
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
60 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 ...
0
votes
0answers
86 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
0answers
229 views

Simple find/replace for all xlsm and xlsx files in a directory

I have a directory with 20 spreadsheets. Some are xlsx and some are xlsm. I need to replace all instances of "foo", with "bar" in each sheet in each file. I'm using windows. I'm on Windows so I don't ...
0
votes
0answers
34 views

In Windows, how do I do a mass search-replace where I search for a phrase and then copy the phrase with several different phrases?

I use Windows and I use a variety of text editors (NotePad++, Vim, etc). Any application works (since I'm willing to try any of the applications I have). ==== This is what I want to search. ...
0
votes
1answer
652 views

Adobe Brackets; How to use the replace regexp function?

I searched the Brackets user guide @github and couldn't find how can I use the the search and replace function inside of the program. A simple example is to find foo and replace it with bar in a ...