Questions tagged [replacement]

52 questions
2
votes
1 answer

Color of the highlight of the found word is too faint to see in Word 365

When I use the "Find and Replace" feature, the word that has been found is highlighted in a very faint gray such that I can't see it very well. How can I change the default color that MS Word uses to highlight the word that it found? My steps…
2
votes
2 answers

Powershell - replace text after wildcard, with nothing?

I am using a Powershell command in a Windows batch file to search for a text string like this: foo=1 (where 1 could be anything) I know .*? works as a wildcard in Powershell. The below snippet isn't the full command, I have only put the relevant…
bat_cmd
  • 511
  • 1
  • 6
  • 19
2
votes
0 answers

Replacing RAM chipsets

Dears, I have a laptop with 4GB of RAM. I'm looking to upgrade to 8GB of RAM. The problem is, the current RAM is PC3-8500F and I can't find it in the local market. All I have found is the PC3-8500 and PC3-8500S.. I'm afraid if I buy any of these…
sikas
  • 254
  • 1
  • 2
  • 7
2
votes
1 answer

SED find and replace by keeping indentation

I can't seem to find an answer, I am trying to find and replace a text. For example, find newName: and replace it with a variable that expands. I tried: sed -i "/ newTag:/c newTag: $IMAGE_TAG" This one removes indentation and adds double quotes…
Turgut
  • 21
  • 3
1
vote
0 answers

Replace 2 of 3 hyphens in a filename with SPACE hyphen SPACE in Powershell

I have been attempting to modify the following example given for a similar question in Powershell, to match my own needs. Running the example works fine. Please could you assist in how to change the code for my needs below? Example given: ~$test =…
Adam W
  • 11
  • 2
1
vote
1 answer

Sed match and replace only certain characters

I have mutliple strings in very similar format. (#1111111) (#4444444) I was trying to use sed to provide an output: 1111111 4444444 I have tried: sed 's/(#[0-9]+)/^[0-9]+/g' which seems to match ok, but the replace is not working.
PW123
  • 13
  • 3
1
vote
2 answers

How to change random domains to a simple domain using Notepad++

I have a file with a random domains like this: host-name estkowjf.tradicebk.cz domain-key smtp,*,/home/pmta/keys/dkim.pem host-name …
1
vote
1 answer

Replacing text in Microsoft word with wildcards

In Microsoft Word, I am trying to eliminate time stamps formatted as [00:33:11]. I used the wildcard search [*] but this does not work. Can someone explain how to do this correctly?
user402525
  • 129
  • 1
  • 5
1
vote
2 answers

Wildcard search and replace in Notepad++

I have many documents consisting of text where words hav become incorrectly hyphenated. Like; be-come; mons-ter; any-thing etc I can search for the place where this has happened using; \l-\l any lowercase character and any other lowercaser character…
Ramses505
  • 23
  • 4
1
vote
1 answer

Word 2019 and use of wildcards in Replace to remove newline

I have used some of these wildcards in Replace from other threads on here with good results so far. But right now I am having difficulties with what appears to be an Enter key being pressed (newline) at each line, and the document is very long. The…
Tony
  • 11
  • 1
1
vote
1 answer

How do I change part of a word with wildcards, Microsoft Word

I'm converting a timecode and need to replace a colon with a full stop - 00:00:00:000 needs to become 00:00:00.000 I've not used Wildcards before, but gave it ago with no success. What would I have to enter to just replace the last colon, as…
1
vote
1 answer

(Notepad++) Change dot on specific line to commas

i have problem i'm using Notepad++ and i wat to change commas to dot in specific line. exemple : 0,4774
Underskys
  • 13
  • 3
1
vote
1 answer

Zpool transparent migration

I would like to move an active pool's data to a new pool, retiring the old pool and making the new pool live in its place, without any downtime. I imagine it going something like: Create new pool Temporarily mirror new pool with old pool while…
J Collins
  • 558
  • 5
  • 23
0
votes
1 answer

How to change all the same pictures in microsoft word to the another picture for all of them in one operation?

How to change all the same pictures in microsoft word to the another picture for all of them in one operation, while all other pictures (they also might be similar to each other or not) must remain their original picture. This can be a word's macro…
0
votes
0 answers

Laptop battery replaced. Does not charge or display any status. Just blinks. Third different brands' battery going. Still no solution

First I need to say that this may be a little confusing text of some parts, because I had to combine different things I recalled, while writing this. Also English is not my primary language, so there are at least some errors. I have a difficult…
1
2 3 4