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

learn more… | top users | synonyms (1)

-1
votes
0answers
29 views

How to replace multiple lines of text (with special characters) in multiple file extensions with multiple encoding in windows?

Is there any way or simple program how to replace multiple lines of text (with special characters) in multiple file extensions with multiple encoding in windows? Example: There are multiple files ...
0
votes
0answers
17 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
37 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
11 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
16 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
15 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
32 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
27 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
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
30 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
18 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
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
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
16 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
85 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
21 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
55 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
68 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: ...
0
votes
1answer
23 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
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 ...
3
votes
1answer
147 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
13 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
24 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
24 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
54 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
76 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
132 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 ...
-1
votes
1answer
36 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
35 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
17 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
741 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
18 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 ...
1
vote
3answers
248 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 ...
0
votes
1answer
46 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
216 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
40 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
0answers
57 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
97 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
32 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> ...
0
votes
0answers
21 views

Language in which a character has been typed

I do not know how to find the information concerning the language in which a unicode character has been typed/entered in a document. This issue is related to the fact that one can use the option Find ...
-2
votes
2answers
74 views

How to find and replace a “*” character in a cell without deleting the entire contents in Excel 2010 [duplicate]

I have a large spreadsheet with a number of cells containing text that have a "*" character at the end. I would like to find and replace this character and delete it. This solution doesn't seem to ...
0
votes
0answers
21 views

Unicode code points converted to characters in batch

To convert code points to characters you can, for example, place the cursor next to one of them and press Alt+x. I have a document full of Unicode characters' code points. I would like to substitute, ...
0
votes
2answers
54 views

Excel Find+Replace lowercase after a certain character

I have a column that requires specific formatting for summaries of articles. Everything after a : should appear as an uppercase for consitency Example 1 - Markets: Comment on Ugandan Shilling ...
1
vote
1answer
56 views

Find and replace first digit with notepad++

I have a bunch of numbers like this: 001 001 002 002 002 003 003 003 003 all the way up to 100. using the search and replace is there a way to just change the first number so that i could get it up ...
2
votes
1answer
61 views

Replace a nested LaTeX command with multiple arguments

I'd like to replace the LaTeX command \teilseiten{left col width}{left col text}{right col text} by an nested environment. The problem is, that the second and third argument of \teilseiten contains ...