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

learn more… | top users | synonyms (1)

-1
votes
1answer
29 views

Add character at a position to a string with notepad++

How do I insert a character into a string at a given position in Notepad++? For example 00000000 to 000000-00
3
votes
2answers
69 views

In Excel how can I search for #N/A cells?

I'm trying to go to the first instance of a #N/A cell, the result of a VLookup that failed. I know I can conditionally change the value when the result is #N/A, but what I want to do is just locate ...
0
votes
2answers
17 views

Word Wildcard Search and Replace Formula Elements

(vn = vp = 0) Does anyone know if its possible to search and replace in Word, using Wildcards, to italicize the vn = vp ? Also, the same search and replace but v1 = vp , with the subscript numbers ...
0
votes
1answer
33 views

Replace text at specific line number with other text using notepad++

I have hundreds of input files that are very similar, but contain slight differences. I want to replace every line 4 in all open documents with another line of text. The search and replace function ...
1
vote
1answer
24 views

Swapping multiple cases of two varying blocks of text, with MS Word find-and-replace

I have a few very long and large documents in MS Word, containing iMessaging history. I want to reorder the current format a bit, so it is more intuitive to read. Currently a sample of one document is:...
0
votes
2answers
25 views

Find-replace within hierarchy of XML files

I have around 350 XML files spread throughout the /abc directory. I would like to find all instances where the value of the alt attribute is exactly 'blah blah': <image alt="blah blah" src="../...
0
votes
2answers
18 views

Adding specific line after findinga pariticular line

I have huge codebase containing 400-500 files. In most of the files we have this kind of lines, <cfcatch type="any"> / <cfcatch type="database"> / <cfcatch> etc. So the common ...
0
votes
0answers
24 views

MS Word Find Style spanning 2 lines that contains text and replace part

I will be creating a macro for this, but first I just want to get the find/replace to function. I have occassions in my Word document where there are 2 lines of Heading 3s in a row. The first line ...
0
votes
0answers
54 views

Replace multiple words in multiple files

I am using Windows 7. I need to replace multiple occurences of multiple words in multiple text files. For example, suppose there are 20 files. I have a list of words to find, and the words to replace ...
1
vote
0answers
15 views

How to add a constant text to all headings in Office Word

In an effort to manually change my Office Word document to Latex, I would like to change all text with heading style with a text containing the \section{heading}, in which heading is the actual text ...
0
votes
1answer
24 views

regexp search and replace for bash variables

A number of my bash scripts need tidying up before sending them round. One of the thing I would like to do is to use curly braces for all variable names. So everywhere it says $PWD should be changed ...
0
votes
1answer
20 views

Replacing a Incremental number text with constant text

I have a XML file I have replace some text like: <instance instanceCode="ZTEST999523" objectCode="ZTEST999523"> <instance instanceCode="ZTEST999523" objectCode="ZTEST999524"> <instance ...
0
votes
0answers
19 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 ' ...
1
vote
3answers
47 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
53 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 ...
0
votes
0answers
17 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
35 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
20 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 value="Afghanistan">Afghanistan</option&...
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
0answers
28 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
23 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
157 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
22 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
78 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
120 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: word<tab>word<space>...
0
votes
1answer
32 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
25 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
1answer
26 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 ...
3
votes
1answer
152 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
16 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
25 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 ...
4
votes
1answer
28 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 ...
0
votes
2answers
57 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
3answers
121 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++?
2
votes
1answer
232 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
44 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 #...
-1
votes
1answer
46 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
38 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
18 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 ...
1
vote
1answer
1k views

How can I convert *.vtt subtitles to *.srt subtitles using regex (regular expressions) in notepad++?

As I learned, every line in a .vtt file starts with something like this: 00:00:06.984 --> 00:00:12.020 (line.1) But it should be like this for a .srt file: 00:00:06,984 --> 00:00:12,020 (...
0
votes
1answer
19 views

How to replace all matching values of evaluated formulas in Excel 2010 now that the option is removed from the find/replace dialog box?

As of Excel 2010, it seems a basic function has been removed. In the Find/Replace dialog box, the "look in" option has historically had "formulas, values, comments" in it. Now those options only ...
2
votes
3answers
535 views

How to identify horizontal tabs in Excel and replace it

I have thousands of data in my excel file, they are scraped data from various websites, initially stored in CSV files then migrated into Excel. This data is for use of my web server. Now my problem ...
1
vote
1answer
64 views

How to search for two question marks(“??”) in Excel?

As the title suggests, I need to find and replace two consecutive question marks (??) in my Excel file. I've tried the solution at: How to search for ? (question mark) in Excel . I tried with ~?? ...
1
vote
1answer
310 views

How to find and replace line(s) in multiple files using Notepad++?

I have been messing with notepad++ for a bit now and am confused as to how to go about doing this: I have a line in multiple files (Within a root directory) that I am searching for. Example: ...
0
votes
2answers
50 views

Multi Find and Replace Html Code

I have a URL error across multiple html files that I need to find and replace. Currently my pages show: src="//https: and I need to find and replace all with: src="https: Does anyone know a way ...
0
votes
1answer
81 views

Find and Replace upper case

I would like to use the Find and Replace function to substitute a number of words which are in all caps, normal style, by a font in which they are in small caps with the first letter of each one ...
0
votes
0answers
140 views

Atom text Find and Replace + Multiple Selectors

(on mac) I know that you can find and replace text with cmd+f and that you can cmd+click to add multiple cursors. Is there a way to find a word or expression using Find and Replace, and then add a ...
0
votes
1answer
34 views

Specific use case for wildcards in Notepad++

I'm trying to prep HTML code for further editing in WYSIWYG editor and I want to simplify the process as much as possible. Here's an example of my string <p>C P U xxxxxxxxxxxxxxxxxx</p> ...