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

learn more… | top users | synonyms (1)

0
votes
0answers
15 views

Excel 2013 find and replace

Excel 2013 find-replace command doesn't allow to me to replace all /, it does find them, but it can't replace them with eg ; Whenever I try to do that, I get a message, that suggests me to add a ' ...
0
votes
5answers
12k views

Replace given char with ASCII nul in Notepad++

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

How to Replace Every Space in a Notepad++ Doc With a Null Character?

I copy and pasted the hex (I think it's hex, but I have no clue) from one document to another and all the null characters turned into spaces. How would I change them all back to null characters, ...
2
votes
7answers
9k views

Find and replace text in multiple files

I’m hoping someone might lend their time in helping me create a batch file or similar for finding and replacing text in several files. I have tried many “search and replace” utilities but have not ...
1
vote
3answers
26 views

Notepad++ regex not working

I am trying to use Notepad++ and regular expressions to remove all XML from Windows' events. My regular expression is as follows: Event Xml:(.|\n)+?Event>\n Example Windows events are as ...
3
votes
1answer
23 views

How to replace Unicode Character in Notepad++

I have got a .xlf files that looks like the picture below: I wonder how do I search and replace unicode character "xE5" to "æ" I thought I could search for:^0145 =xE5 and replace "æ", that did not ...
1
vote
1answer
32 views

Expression help for Find and Replace in Notepad++ please

how to replace and but symbol (,) after second number between every five numbers by using replace in notepad++ ? replace 00:00:26092 --> 00:00:30552 00:00:36770 --> 00:00:39933 00:00:40040 ...
2
votes
3answers
62 views

Find & replace on a folder of .txt (but only first 1-3 lines)

I have a folder of .txt files. They all look like this: Title: Title of blog post. Tags: tag1,tag2,tag3 Text on the post. Just my thoughts. > A blockqoute Written in *markdown.* Using ...
0
votes
0answers
14 views

How to find and replace the character “$” in Open Office Calc

How to find the character “$” in OpenOffice Calc and replace cell's value times 2 Practically looking for all the prices in a column and i want to double that. EX:$25 result $50 Can i use the find ...
3
votes
2answers
29 views

Notepad++ RE Search and Replace

Can someone explain why the following record: 1234 4567 blahblahblah becomes blahblahblah When Search/Replace applied (NP++ v6.9) with: Replace:^\d{4}\h with:(nothing) (Reg Exp) radio on Any ...
0
votes
1answer
30 views

How to find wild card value and append to it

I have part of the hundreds of lines similar to : [vc_single_image image="55"] How can I change the lines so they all get appended img_size="full", resulting in [vc_single_image image="55" ...
0
votes
1answer
17 views

Notepad++ Replace hint for text file

i'm having some trouble about replacing option string. I need to replace <option value="91">Afghanistan</option> need to become <option ...
0
votes
0answers
25 views

How to do multiple find an replaces in MS Word — possibly storing the data in a spreadsheet

I have an MS word file that I want to do multiple find and replaces on. The are a spreadsheet with two columns, e,g, cat dog rat mouse horse pony I would like to replace ...
0
votes
0answers
12 views

Dreamweaver REGEX trying to find and replace (or remove)

So far am using this: "http([^>]+) as my REGEX. The page has multiple urls mixed with text and DOM Elements. Something like: <li><a href="http://www.uen.org/toolbox">UEN's Teacher ...
1
vote
0answers
69 views

Word - find/replace highlighted text with shaded text AND preserve all other formatting?

I create new documents from source material that others send me, and use Word's built-in gray highlighting to indicate text in the source file that's been dealt with in the new document (equivalent to ...
0
votes
1answer
19 views

Replace “bla”: “*” to “bla”: * with wildcards Word 2016

I've a lot of data in my Word file in I'll to replace some content. The content I'll replace is show in example below: // original data I'll replace { "nummer": "1", "jaar": "2010", ...
0
votes
1answer
12 views

Add four spaces at the beginning of every selected new line in batch

In order to add lines of code to a post properly, I'd like to add four spaces (U+0020) at the beginning of every selected new line, the previous line ending in a paragraph break, so that I can just ...
1
vote
1answer
52 views

exclude specific strings of words using wildcards

I cannot seem to come up with the appropriate wildcard (I suppose it must be [!]) which would exclude from the expression argument[oales]{1,4} the following three words argumentos argumenta ...
0
votes
2answers
54 views

Notepad++ - replace every first space of a line

I know there are a lot of these types of questions but I can not find a way to alter one of the existing solutions for my problem. My text file looks like this: ...
3
votes
1answer
144 views

replace string with proper tab character in Notepad++

I have a string like this: "001234","123","","Automated Letters""\t""Arrears Advice","\\PATH\FILE.doc" instead of Automated Letters""\t""Arrears Advice I need Automated Letters Arrears Advice ...
0
votes
1answer
19 views

How to add quotes to a datestring notepad++ regex

I have a huge text files with date strings in the first column. For further processing, I need to have the date strings in double quotation marks: 2015-11-11 00:00:00.00,59,... Should end up like ...
0
votes
0answers
23 views

Modify properties of tables in batch

I am working on a MS word document which contains several tables, and I want to modify the properties of all of them at once, such as alignment, text wrapping, borders and shading etc., and either for ...
0
votes
0answers
151 views

Backrefence syntax in powershell's sed

How do I back reference a capture group in powershell's sed? I can't seem to find the syntax for it. IE I expect echo "hello" | sed "s|(h)ello|world\1|" to output worldh, but instead I get the ...
0
votes
0answers
22 views

How to work around the impossibility to find zero or more occurrencies in Microsoft Word?

How would you proceed about the following find and replace in Microsoft Word? Find what? D.Lgs. (that can be any combination of lower or upper case, plus the dots may or may not be there, i.e. I ...
1
vote
2answers
7k 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 ...
1
vote
0answers
37 views

How to replace HTML code using MS Word 2010?

I’m trying to delete the CSS from my code using Word 2010. I’ve searched online on how to find and replace text, and tried some but none worked. Below is the code i don't want. ...
1
vote
1answer
196 views

Mass Find and Replace - Microsoft Word 2013

I am trying to create a macro in order to do a mass find and replace across multiple word documents. I have found this one on the net and altered it however I keep getting a run time error (5174) ...
2
votes
2answers
779 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. ...
1
vote
2answers
1k views

How to replace only text in a selected column

When I select some text in a column, replace/in selection will become grey. How can I replace text only within a column of selected text in Notepad++?
4
votes
5answers
3k 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
1answer
12 views

Is it possible to search and replace formatting in a LibreOffice Writer document with named styles?

Say I have a document in Writer that somebody who is ignorant of styles has created by manually setting a certain font to various areas. Now I want to improve the document by upgrading the manual ...
10
votes
2answers
2k views

How do I delete lines without “.” in Notepad++? [duplicate]

In Notepad++, I have many lines in the format: abc.xyz where "abc" might have space or - or numbers. How do I delete lines without "."? So if a line does not have any ".", I want it removed ...
1
vote
1answer
21 views

Overlapping replacements with sed?

Suppose I have an input string: ,,a,b,c,,,,d,e,f,,,g Is there a simple sed command that can insert something between every pair of consecutive commas? That is, what can I use to convert the input ...
38
votes
7answers
41k 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 ...
4
votes
1answer
23 views

How can I Find and replace all text that has a style in MS Word 2013 without changing style on line below

I have a MS Word 2013 document with several headings that are styled as "Heading 4". My goal is to replace all text that is styled as "Heading 4" to ###### and style "Heading 5". I use the ...
1
vote
3answers
66 views

Notepad++ Regex to replace the 4th character of each line in a text file.

I have a large text file and want to replace the 4th character of each line. Cloud you please suggest a Regex to do that in Notepad++?
0
votes
2answers
53 views

Adding or Replacing text within hyperlinks

I am very confused after trying to explore how this can be done. Its very simple but yet cant find a solution. What I wish to know is the following. I have three separate documents, all of which are ...
1
vote
1answer
160 views

sed without regex

I am using GNU SED for find and replace functionality on large files(upto 2GB). Find and replace characters can contain any characters, hence I want find and replace parameters to be treated as plain ...
0
votes
1answer
2k views

Multiline find and replace wrapper with wildcard inside

I'm trying to put a wrapper around a bunch of fields that already exist. I want to convert this: <div class="editor-label"> @Html.LabelFor(Function(model) model.FirstName) </div> ...
6
votes
7answers
22k views

Regex Replace from Command line

Is it possible to regex replace from command line? Right now I'm using notepad++ to do this. In command line I can only use FINDSTR wich can only locate the mached files/lines EDIT : Maybe it will be ...
1
vote
2answers
479 views

How do I find this character(by unicode search) in notepad++ ﻁ (\uFEC1 and only that character)

How do I find this character(by unicode search) in notepad++ ﻁ If I go to charmap and I pick this character I type FEC1 in the unicode search box and hit ENTER and it finds the character I look ...
2
votes
1answer
91 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 ...
2
votes
1answer
103 views

Remove trailing whitespace at the end of table cells

I have opened a PDF file in Word in order to edit it (the original Word document is lost). During the conversion, each line of text and each table cell was given an extra space. Of course, they don't ...
0
votes
1answer
40 views

Replace multiline string by another multiline string in a markdown file on OS X

I want to replace a multiline string in a markdown by another one (also multiline). I think perl is the best option. E.g. i want to replace ## Exercise 1 some text some more text ## Points by ...
11
votes
6answers
31k 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?
5
votes
3answers
7k 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 ...
-1
votes
1answer
34 views

How to stop OpenOffice 4 from replacing your — double-dash with a single long dash

I was trying to document some command lines in Linux that use a double dash --option-name and was annoyed that OpenOffice/LibreOffice was replacing the double-dash with a single long dash (U+2013). ...
0
votes
0answers
32 views

Word 2013 can find, but can't replace

I want to replace all double spaces () in one of my Word document to single space (). To my extreme suprise, my copy of Microsoft Word 2013 Home is able to find double spaces, but isn't able to ...
0
votes
2answers
16 views

Ubuntu replace expression in dir and all sub directories

How can I replace an expresion that has a forward slash with another in all dirs and subdirs? I used this to find: grep -rnw "/var/www/site" -e "app/COD1" And now I want to replace: "app/COD1" with ...
4
votes
1answer
968 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 ...