Questions tagged [find-and-replace]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
33 views

(vim) How to remove word that has a specified character?

so I tried to remove any word that has a letter "a" in it with vim I want to change this string hotel echo lima lima oscar whiskey oscar romeo lima delta to hotel echo whiskey romeo I hope I ...
1
vote
1answer
22 views

How to find “#VALUE” cells in Excel?

In Excel 2007 I have two sheets: sheets1 with data sheets2 links with some formulas data from sheets1 If a formula does not work in sheets2 I have cell that shows #VALUE!, but in the bar I can see ...
1
vote
0answers
40 views

Word replacement between symbols

I have a translation file that looks like this: Apple=Apfel Banana=Banane Cherry=Kirsche Train=Zug ...500+ more lines like that now I have a file I need to work on with text. Only certain parts of ...
2
votes
1answer
110 views

Replace [[Word]] with a word from another file

I have a translation file that looks like this: Apple=Apfel Banana=Banane Cherry=Kirsche Train=Zug ...500+ more lines like that now I have a file I need to work on with text. Only certain parts of ...
0
votes
0answers
28 views

What on earth is Microsoft Word wildcard search * replace doing in this case?

I'm trying to get Microsoft Word wildcard search and replace to add <b> on either side of blocks of bold-formatted characters. I've tried many things, none of which have done quite what I need, ...
1
vote
1answer
21 views

Replace attribute of XML parent node with values from child node

I have an xml file where I want to replace text in a parent node with some text from the child node. This is an example xml: <output name="Element_152"> <field name="NAME&...
0
votes
0answers
11 views

Is it possible to search for a graphical symbol in an image using Photoshop?

Is there a way to search for a specific symbol in an image the same way you would search for a piece of text in a word document? For example, say you have a set of plans, and you need to find all ...
1
vote
1answer
45 views

Microsoft wild cards - find words with different endings but next to each other

Aim Hi folks, I am building an Index and I am trying to search for two-word phrases but with declinations in MS Word. So what I want to find is two words next to each other with fixed beginnings but ...
1
vote
2answers
31 views

Notepad ++ Change last name from Upper case to Proper case

Hi I would like to replace all the "last name" instances in my text file from full upper case to Proper case. DOE to Doe or IPSUM to Ipsum as you can see below Name = John DOE Random info 1 ...
0
votes
1answer
33 views

Replace certain text string within quotation in Microsoft Word

For example: "I elaborate this as bla," Caesar said. Then, Alexis elaborate, "This only elaborate that bla." I would like to replace all elaborate strings inside the quotation to ...
0
votes
1answer
65 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 ...
0
votes
1answer
39 views

Continue add selected php in large value

I have a large amount of code in notepad++ or any editor but I want to replace all the text quickly. Is there any option edit and replace in notepad++? <option value="0&...
1
vote
1answer
37 views

Delete trailing hashes in a list of URLs using powershell?

I got a bit rusty with PowerShell, and I am missing the correct search terms, so I hoping asking here is ok. I have list of URL of the following structure: /pub/pdf/ssm.supervisorymanual.en.pdf?...
1
vote
0answers
41 views

VBA Replace cell if it contains certain text in a given column

I'm an absolute beginner at VBA and need some help with find and replace automation. I need a code that that can find cells in a column that contain certain partial text and replace that cell with a ...
0
votes
0answers
21 views

How to run multiple find and replace searches in a single batch in RStudio

I've got a bunch of find and replace logic that I would like to run sequentially in a single batch. I've looked around for RStudio plugins and CRAN packages, but have only found ones that let you do a ...
0
votes
1answer
17 views

Replace multiple occurences of a string in cells

Is it possible to replace a certain string that can occur multiple times in a single cell, but also in multiple cells? I'd like to prefix the first character / with another string :: in comma ...
0
votes
2answers
35 views

Word find/replace with wildcards

Using Word 2010. I'm using wildcards to find a string -- 4 digit year inside parentheses. ([(])([0-9]{4})([)]) I want to replace with a line break (or paragraph, CR, etc.) BEFORE the string + the ...
1
vote
3answers
45 views

Using Notepad ++ I need to remove all text except specific words

Example: Line 1 is this Adobe Ceiling EngramEntry_AdobeCeiling_C 106 5 15 I want to take out everything except : EngramEntry_AdobeCeiling_C
1
vote
1answer
48 views

Automatically Find/Replace fixed set of phrases in Word

I want to perform the following Find/Replace operations (or equivalent) in Word: For example: End of sentence: also `.`, `?`, `!` 1. `. ` by `.` (xInf) 2. `.` by `. ` 3. ` .` by `.` (xInf) ...
1
vote
2answers
22 views

How to make my last Worlds copy to the first in notepad++

So i need help I want to copy all my last word to the first word example: ^=/system/priv-app/Hearingdro_Tablet_V4_N ^=/system/priv-app/SetupWizard ^=/system/priv-app/ANTRadioService to: ...
0
votes
1answer
18 views

Is there a difference between using 2 slashes and using 1 slash when replacing one pattern by another in a string in bash?

Given the following strings in bash original="a bird flew in my window" old="a" new="the" the following, using 2 slashes after original result=${original//$old/$new} ...
0
votes
0answers
43 views

Regular expression to match blocks of { } in JSON

I have the following piece of JSON that occurs on about a hundred and fifty files in an application I am working on. { path: "/cms/scenarios/:scenarioId/impacts/add", ...
0
votes
1answer
35 views

RegEx. Is it possible to create search patterns that set different groups in different lines?

I would like to have one search pattern that searches for different strings across different lines. code: M90 G90 G71 G75 G00 G97 S16000 G00 T1 G00 X123.4437 Y149.1445 Z-12.0 M12 G00 G01 Z1.5 F50.0 ...
0
votes
1answer
52 views

Replace values of XML child node with values from parent node

I have an xml file where I want to replace text in a child node with some text from the parent node. Is this possible in notepad++ or do I need to use a different program or to write code? This is an ...
0
votes
0answers
62 views

GitLab API - GET Merge request JSON format

I'm getting my merge requests with this command: curl --request GET--header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/4/merge_requests/85&...
0
votes
1answer
181 views

In MS Word, “… is not a valid special character for the Replace With box.”

It's the first time I'm giving a question here. There's text like this: ...sometextsometext(sometext)... And I wanted to change it all found in the text by the Replace With tool using its special ...
0
votes
1answer
59 views

How to replace character to tab stop?

Is there a way to change a character into a tab stop? Here is my input and output: In my understanding, a table of content can only be achieved after you have, well, a content. While in here I just ...
0
votes
1answer
58 views

How to find paragraphs contain no embolden character?

In Word or Libre Writer, is there a way to find any paragraph that contains no embolden character? I would like to delete them. I can go to the Advanced Find and choose Wildcard as well as Not bold, ...
4
votes
1answer
56 views

Regexp fails to match UTF-8 characters in Notepad++

Given the following UTF-8 text in Notepad++: 🤣 1 ☺ ☺️ 2 😊 3 Both ^[^ ]+ and ^[\S]+ match only the second line. The same expressions matches all 3 lines in Visual Studio 2019. What am I missing?
0
votes
0answers
23 views

What is the find and replace “s/{pattern}/{string}” format called?

s/{pattern}/{string} keeps coming up in find and replace contexts (vim, sed). Is this a standard way of presenting find and replace strings? Does it have a name? Is there a standard somewhere for this ...
1
vote
2answers
888 views

Powershell regular expressing to match over multiple lines and replace a small part of what it finds in multiple documents

I'm using powershell to get lots of different documents, find a pattern in them and replace that pattern with something else. I have this working, however I'm trying to expand one of the regular ...
0
votes
0answers
9 views

Find text in pdf and replace it with a relative link to a specified page

I have a lot of references in my pdf file like ref. page #123, ref. page #33. I would like to add a layer with link areas to make the page numbers (the whole /ref\. page #/d+/ text) clickable. Is ...
1
vote
1answer
32 views

Notepad++ XML - Delete Tags Conditionally Based on Child Tag Content not containing certain content

I've got a large xml file where i need to remove some child elements if they do not contain the right start of a the content of a nested child element. My xml file looks like this: <product> ...
0
votes
1answer
91 views

Word VBA Format only part of a find-replace string (Format paragraph starting with string)

I need to format (hidden) all paragraphs starting with a certain word. I have used find-replace '----set replacement format Selection.Find.Replacement.ClearFormatting With Selection.Find....
0
votes
2answers
145 views

How to find-and-replace text with regular expression

I have multiple lines like this(with multiple random numbers): value:"200 text.text.text.text value:"235437 text.text.11.text value:"12835 text.text.17.text value:"347783 text.text....
0
votes
2answers
40 views

Delete all uppercase paragraphs using find/replace

I’m editing a Word document, extracted with OCR from a scanned pdf. The problem is that it kept all the headers from the original document. As the headers are all in uppercase letters, I’m looking for ...
0
votes
0answers
28 views

Microsoft Word - How to find and title capitalize a string between located between two other strings?

I have a reference bib file with several hundred repetitive entries with the following syntax: @article{author2020article, title={This is Some Random Article Title}, author={Author, Name1 and ...
0
votes
3answers
96 views

PowerShell replace $env:USERPROFILE in prompt

I mean to get in my PS 5.1 prompt ~\Documents instead of C:\Users\USER1\Documents But while trying one of the "building blocks" I get an error > $($executionContext.SessionState.Path....
0
votes
0answers
248 views

How can I “replace all” in Acrobat Pro DC?

How can I "replace all" in Acrobat Pro DC? I can only find "replace":
0
votes
0answers
23 views

Can you use Word's Find and Replace to select each instance of a sentence?

I'd like to use find and replace to highlight each sentence in the document, so that when I click "Find Next" it will jump to the next complete sentence. I've tried using [A-Za-z]*. with Use ...
0
votes
0answers
85 views

Selecting first word from each line of Word document

How can I select all the first words from each line of the document and replace them with invited comma around them, and highlight them?
0
votes
0answers
45 views

Word: Wildcard find/replace paragraph marks fails using text file

Using Word 2013 in Win10. I created a text file of a directory structure using CMD's DIR command piped into a text file. I opened the text file directly in Word. I tried using Word File | Open and ...
0
votes
1answer
209 views

Notepad++ How to put split HTML tags onto one line using a Find/Replace Regex search?

Suppose I have a document containing this: <div data-test-id="comment"> <div class="class1 class2 class3"> <p class="class1"> Lorem Ipsum </p> </...
0
votes
1answer
56 views

Automatically clear “Find what” parameter after using Find and Replace box

Is there any way to clear "Find what" (Ctrl+F) search parameter when after a search using "Find and Replace" on Excel? I realized it is not possigble to use Ctrl+A to select all the text inside the "...
0
votes
1answer
73 views

Use Word Find-Replace to Highlight Many Instances of the Same Text

We used to be able to use Find-Replace in Word 2010 to highlight all instances of a specified text string. The steps were simple: In Find, type the text. In Replace, select Format > Highlight. Either ...
0
votes
1answer
17 views

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 ...
1
vote
1answer
83 views

How can I make this replace operation with a wildcard in Sublime Text?

I have 100 objects like that: { "_id": "5eb45c2738ae2549000ddb09", "category": "Vel aliquid quas", "title": "Incidunt incidunt quae ut et in provident ut est rerum." }, { "_id": "...
0
votes
1answer
64 views

Notepad++ How to delete sections of text starting with a line containing a certain phrase

I'm trying to edit a few calibre files that have tags attached, but the tag line is not always formatted the same. Eg. div class="pcalibre1 pcalibre2 pcalibre tags-list" div class="pcalibre1 ...
0
votes
1answer
143 views

Search / Find / Replace in Firefox Developer Tools Debugger

I've looked all over but I can't find anything (not even in the MDN Firefox Developer Tools Help Pages) which explains how, when I'm looking at the Debugger in Firefox Developer Tools I can request to ...
1
vote
1answer
488 views

Check and replace file same name only

Example: Folder 1 has A to Z file name Folder 2 has only V to Z file name I want to move then replace file in Folder 2 only with same name from file in Folder 1. is there a cmd/script...etc to do ...

1
2 3 4 5
13