Questions tagged [replacement]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
25 views

Replace text surrounding a wildcard in Notepad++

So, many years ago when I started writing PHP code, I learned to format information sent from a form as such: $_POST[itemnamehere]; Whether that was right or wrong at the time, it worked. However, ...
teddytash's user avatar
0 votes
0 answers
22 views

windows-equivalent of mac's "insert pattern" functionality for {find,search}ing/replacing text

surprised no one has asked this question yet. is there any way to get the "insert pattern" functionality that is available on pretty much all mac apps with search and replace (except, ...
gagan's user avatar
  • 1
1 vote
0 answers
44 views

How do I delete 1 of 2 One Drives from a Dell laptop?

My previous job was remote. Once my contract expired, they let me keep the laptop provided. I am able to use it but a message requesting me to log in into my previous job's drive pops constantly. I ...
Rosa Isabel's user avatar
2 votes
1 answer
71 views

MS Access replace function is not giving the expected result

I am concatenating two fields, however in some cases the second field begins with \, but not always. I'm trying to remove the possible extraneous \ using replace. stDigitalFolderLocation = ...
Ali Kayn's user avatar
10 votes
2 answers
4k views

How to replace a USB-C hub plug?

I got a USB-C hub with a broken plug (the end which is inserted in the computer) from a friend. Since the connector was completely destroyed inside, he did cut the cable behind it (probably that wasn'...
Chris H's user avatar
  • 109
0 votes
1 answer
56 views

Notepad++ How do I remove a break and join 2 lines together?

My chat log has unnecessarily added a line break between timestamp and usernames / messages. Not sure if this is to be fixed in "Find & Replace" or "Line Operations". Basically ...
John D. Davis's user avatar
0 votes
1 answer
864 views

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 ...
Dzharik Olivie's user avatar
0 votes
0 answers
78 views

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 ...
Buff-Ever-S's user avatar
0 votes
0 answers
83 views

How can I find the correct part for a replacement keyboard for an LG laptop

My daughter's laptop (an LG 13U70P) has an A key that broke off. (The base part that connects it is broken.) I've replaced laptop keyboards before, but it's been a while. Just finding the correct ...
David Elm's user avatar
  • 101
0 votes
2 answers
85 views

Notepad++ How to replace every 11th character (25 characters per line) with a #

I have a set of data - 25 characters long per line by a couple of hundred lines. Each line / set of 25 characters per line consists of Numbers and Letters (both upper and lowercase) I want to replace ...
Robert's user avatar
  • 11
0 votes
1 answer
580 views

How to prevent notepad++ from replacing < and > with &lt; and &gt;

I have just updated notepad++ win64 to version 8.5.. When I type < or > into html files, notepad++ is replacing those characters with &lt; and &gt; For example, when I type <b>, ...
FredThompson's user avatar
0 votes
2 answers
200 views

Copying a filename on the same line to the end of the line

I have the following lines in VIM: <img src="file01.jpg" / > <img src="file02.jpg" / > <img src="file03.jpg" / > And I would like to add the filename ...
Marc P's user avatar
  • 103
0 votes
0 answers
164 views

Is there a port of the linux ip command to Windows?

I am constantly switching between MS Windows and Linux and would love to use the Linux ip command on Windows instead of ipconfig or route. I tried to locate a port of ip to Linux but the unfortunate ...
WoJ's user avatar
  • 3,123
0 votes
0 answers
145 views

How to access internal components on HP Envy TPC-W051MT desktop?

Despite 15 years experience in computer maintenance, I cannot figure out how to fully access the motherboard of the HP Envy Desktop TPC-W051-MT (HP model 795-0805nz), for replacement of the NVMe SSD. ...
OuzoPower's user avatar
  • 234
3 votes
1 answer
648 views

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 ...
Eddie Gnz's user avatar
0 votes
1 answer
678 views

Find and replace text in a file only after 2 different patterns match using `sed` or `awk`

This is an extension of the question asked-and-answered here: Find and replace text in a file after match of pattern only for first occurrence using sed The problem being: I need to perform a find-and-...
OneCheapDrunk's user avatar
0 votes
1 answer
96 views

I need help on Xerox VersaLink C405

I need some help with "How to replace the Transfer Unit Kit" from the printer Xerox Versalink C405 I tried looking for some solution, but I didn't find a proper one. If someone could help me,...
xXNiriXx's user avatar
-2 votes
1 answer
2k views

Replace Filename before underscore_ using powershell

I need help with replacing file names before underscore with nothing. Ex: ABC_123.xls and I want it to rename to 123.xls and CAB_234.xls to 234.xls.
Dev's user avatar
  • 3
0 votes
0 answers
2k views

Synology NAS: Bad sector warning, but drive passes all S.M.A.R.T. tests and IronWolf tests. Replace?

I have a Synology NAS and received a warning that "Bad sectors on Drive 12 have increased." I ran the quick S.M.A.R.T. test and the IronWolf (Seagate brand) health test and both say that the ...
Dethlefs's user avatar
0 votes
0 answers
486 views

copy, replace folder and files, so that keep both changed files and remove one of identical files

I have many copied version of files and folders. I want to merge folder and files but keep the all changed version of same name files and remove all identical files and only keep one version. for ...
Yazdan's user avatar
  • 3
-1 votes
1 answer
49 views

Can I replace Win-11 with Win-7 in a brand New System?

I bought a new Dell workstation 3660 with i-7 12700 2 NVIDIA T-600 Cards To Run 8 Monitors Win-11 Pro 3 M.2 512GB NVMe & 3 SATA 4TB 5400 RPM HDDs Eight 24 inch Monitors ( 1920 x 1200 ) Resolution ...
Dan's user avatar
  • 27
1 vote
0 answers
228 views

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 ...
Adam W's user avatar
  • 11
0 votes
0 answers
144 views

Regex adding to filename by find replace (Java/ECMA script regex)

I am trying to append to a filename with regex replace.This can be done by many ways for sure but i need to do it with regex, Need select filename and replace it with filename+newtext so in example i ...
i3ordo's user avatar
  • 1
1 vote
1 answer
2k views

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 ...
PW123's user avatar
  • 13
0 votes
1 answer
93 views

Replace Audio with 2 Concatenated Songs using FFMPEG

So I have a video about 8 minutes long and I got two Creative Commons songs of 5 and 3 minutes. I would like to copy the video and replace video's audio with one song playing and after it the other ...
Bitterblue's user avatar
0 votes
1 answer
1k views

Notepad++ How to copy the last x characters of every line to the end of the same line?

Example- This: Example/Images/1234567 Needs to become this: Example/Images/12345671234567 1234567 is a random string of 7 alphanumeric characters on each line.
PJS1987's user avatar
  • 277
0 votes
1 answer
577 views

Given two columns, Insert a value at a specific position in excel

Situation: I have two columns A and B. I want the third column C based on the position (specified by B) of the values (specified by A). For empty cells in C, I want to have 0. How can I do this in ...
specfunctor's user avatar
0 votes
1 answer
31 views

Can you replace the harddrive of a Lenovo T440 with the harddrive from a Lenovo T490 [closed]

Can you replace the harddrive of a Lenovo T440 with the harddrive from a Lenovo T490
Paul Olimpio's user avatar
0 votes
1 answer
1k views

Is it possible to replace a laptop screen with a different refresh rate?

Suppose, currently, my screen has a 144Hz refresh rate and I want to replace it with a 120 Hz refresh rate screen. Is this possible? I've heard that it is not possible. If it is so, why does it say ...
S. Tiss's user avatar
1 vote
2 answers
199 views

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 </virtual-mta>...
HICHAM KADIRI's user avatar
1 vote
1 answer
42 views

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's user avatar
0 votes
2 answers
6k views

CMOS Battery Replacement Ml 1220 to CR 1220

I have a Gigabyte Q1000C mini Laptop. The Bios battery is dead, as it has been in storage for the last 3 Years. The bios battery in it now is a ML 1220 - as shown above. I'd like to know if I could ...
Rudeman's user avatar
0 votes
0 answers
226 views

Keyboard replacement done but same keys won't work anyways

Laptop keyboard replacement Guys so i tried to change my laptop keyboard it was kinda hard but i made it. Here's the link of the video i used: https://youtu.be/9PIgQCyYZwA Now my problem is that the ...
Alejandro Valle's user avatar
0 votes
1 answer
731 views

Word Find and replace paragraph marks when there are tables

Find and replace for paragraph marks doesn't work when there are tables in the document.
wordexperto.com's user avatar
2 votes
2 answers
15k views

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 ...
bat_cmd's user avatar
  • 541
0 votes
2 answers
945 views

Trying to escape double quote next to comma in powershell, usual method fails

I am replacing text using powershell running in a batch file, using single quotes to enclose the text to be replaced. I have found that trying to escape a comma followed by a double quote, can't be ...
bat_cmd's user avatar
  • 541
1 vote
2 answers
745 views

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 ...
Ramses505's user avatar
0 votes
0 answers
42 views

Laptop booting only while plugged and keyboard doesn't work either after HDD replacement

Recently I had problems with a laptop (tried to solve them in a previous thread). I managed to remove HDD and replace it with another one from another old laptop. While trying to put in the last screw ...
maklmor's user avatar
1 vote
1 answer
236 views

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) ...
Tony's user avatar
  • 11
0 votes
1 answer
47 views

Trying to buy a replacement battery but I worry about whether it will be compatible due to the differnce in voltage and capacity

I'm going to replace my HP 740004-121 OA04 battery,the originally is 14.8v but the one I'm looking to buy is only 14.4v. Would this not power my computer fully or not fit or be dangerous in any way?It ...
Sylvia's user avatar
  • 1
0 votes
1 answer
2k views

Trying to replace multiple strings in Notepad++ from a file

What I am doing is looking at multiple large text files, in these text files are common strings that need to be replaced. If it was a handful of instances I could use the Replace function, but I have ...
Depot's user avatar
  • 1
2 votes
0 answers
62 views

Replacing RAM chipsets [closed]

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 ...
sikas's user avatar
  • 264
1 vote
1 answer
134 views

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 ...
Kinyonga's user avatar
0 votes
1 answer
83 views

Same Hotkey för different purposes - change content

I want to use the same hotkeys for different purpose. EX. competition1 have fields for 'first name' 'last name' adress e-mail Competion2 have fields for 'first-name last name' e-mail adress I want to ...
Stellan's user avatar
0 votes
1 answer
2k views

How do I replace this XML value in Notepad++?

I need a bit of help replacing text in Notepad++ What I want to replace is: <releasedate>19910101T000000</releasedate> With: <releasedate>1991</releasedate> How can I replace ...
foxtochop's user avatar
2 votes
1 answer
2k views

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&...
Turgut's user avatar
  • 21
0 votes
1 answer
770 views

Laptop Battery: Can I use 14.7v battery instead of 10.8v?

I'm using an HP G5 245 laptop and want to replace the OEM battery, which has a capacity of 47WH @ 10.8v (P/N: HSTNN-PB6V TPN-1124 844198-850 MI06): I couldn't find a 10.8v battery, but found some ...
Arun's user avatar
  • 1
0 votes
2 answers
367 views

Laptop charger 120w Adapter as replacement for 19V 3,42A 65w

Is it safe 120W Laptop Charger, which has many output features as below? Chinese brand adapter has many electrical specifications which are over my understanding. My original Asus adapter has 19V 3....
Karakaplan's user avatar
0 votes
1 answer
1k views

I want to replace a character with a specific number, what formula do I input to do this?

So for instance if I put in the letter 'W' I would like the cell to automatically replace with the number 4,000 and if I put in the letter 'B' I'd like the cell to replace with the number 3,000. If I ...
user1198267's user avatar
0 votes
1 answer
108 views

A Script to Edit Code (RegEx?)

this is my first post on SuperUser and I'm unaware if I'm in the right place. I have written a game in JavaScript. Throughout the game, I use FOR loops in the following fashion for a miriad of tasks. ...
Eyesight Technology's user avatar