Operations that locate specific instances of conditions being met and replacing them.
Questions tagged [find-and-replace]
688 questions
5
votes
2 answers
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 work.
If this is not possible I could use another…
XsiSec
- 276
2
votes
1 answer
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 car is …
to
Calls him and tells him that his car is…
laggingreflex
- 5,255
1
vote
1 answer
Find the word "Dr" (with the "r" in superscript) in MS Word, and replace it with "Dr" (with the "r" in normal font)
I am looking for a way to replace all occurrences of "Dr" ("r" in superscript) with "Dr" ("r" not in superscript) in a Word document. Thanks to all.
user1685291
- 11
1
vote
1 answer
Replace text inside matched pattern?
Using any stream editor, (or vim), is there a fast, efficient yet simple way to do a substitution but only inside an already matched pattern. for example :
Replace all parameter "foo" with "bar" but only for the function "func" :
test(foo, baz)…
hl037_
- 111
1
vote
1 answer
Notepad ++ - Find text and replace the number after
I'm trying to use Notepad++ to find and replace a lot of random numbers in a long string. I have over 1000 text files with strings like this
"movemeto":40.
How can I replace the numbers following from a random 2 digit to a 3 digit number. For…
Zeek
- 33
1
vote
1 answer
I want to change in a TEX file : string a\a{nn}o into a(nn)o
I have a .tex file in which I want to replace the string a\a{nn}o with a(nn)o
I have tried the following PowerShell (v5) code:
(Get-Content h:\combined.tex) | ForEach-Object { $_ -replace "a\a{nn}o", "a(nn)o" } `
| Set-Content…
0
votes
1 answer
replacing 2 different words with each other
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:
Amharic - English - Japanese
to
English - Amharic -…
Cyclone
- 103
0
votes
1 answer
Adding new line to string
I have a line that looks something like:
186 then some text 185 more text 184 blanks
I would like it to be reformatted to look like
186 then some text
185 more text
184 blanks
How can I do this using replace all?
Tate
- 1
0
votes
2 answers
Use word, Find & replace to remove date and time
I have a massive recorded calls word document where calls are scripted out for our records. The program we use has added the date and time in front of EVERY line of text so its a very clunky record and all the lines have been exported so they are…
Tom Styles
- 1
- 1
- 1
0
votes
0 answers
Multiple Search and Replace
In some of my projects I have to do extensive find and replace on plain text files before I begin to work with the file.
(Just to give an idea: I often have edit bridge (card game) related files I need to convert, say 1♣ to one club; over that I…
blackened
- 251
0
votes
1 answer
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 them with.
Suppose,
The find list has words like…
AllSolutions
- 376