Skip to main content

Questions tagged [find-replace]

Use find-replace for questions related to automatically executing a sequence of search, deletion, and insertion operations to exchange one string for another

find-replace
1 vote
2 answers
28 views

How to put the same character in the beginning of all rows using regex?

I have a list of 10 digit numbers in a txt file. I want to put the same character in the beginning of all rows using regex, without changing the numbers. I also want to put the character at the end of ...
Lime118's user avatar
  • 11
0 votes
1 answer
31 views

Find everything between ( ) and making a hyperlink for it

Hope you're doing fine. I need a macro in ms-word to find everything between parentheses and turn it to a hyperlink in which the string is "[Pmcid:"the thing"]" and the address is ...
Amirali Pm's user avatar
0 votes
0 answers
25 views

find and replace number after specific string in xml using regular expression [duplicate]

I have an xml payload as shown below. I need to be able to find the property "ACME Account", and then the next value property value, replace the number with a new number. So in the example ...
Joe's user avatar
  • 201
-1 votes
1 answer
32 views

google sheets, search and replace for next colum

I have a list of things and want to get them in two seperate colums. Can I do that by using search and replace ? or How do I do this ? Here is an example How it is How it should be
Mcoc Garrot7's user avatar
0 votes
2 answers
84 views

Set specific condition to replace text in Word VBA

I'm trying to create a macro that replaces a piece of text with specific conditions. For example: if it's shown in the document "Summary nº 123" then keep the text the way it is, but if it ...
luan_coder's user avatar
0 votes
0 answers
55 views

BBEdit: Is It Possible to Gnerate Unique Identifiers in an HTML File With a Text Factory?

I have an HTML file with multiple instances of “mkt_edit_me_”, and I’m trying to set up a Text Factory that will make each instance unique. I’m trying to turn this… <div class="mktEditable&...
SvenLobsterburg's user avatar
1 vote
1 answer
48 views

Remove a portion of String after certain value

I am using below mentioned code for finding a string in a file(Constants.TcGVL), assign my desired value(%select%) to it and copy to a new location: Call :ValueSubstitude "%root%\LeafSpring\...
FAD's user avatar
  • 11
1 vote
1 answer
85 views

Using Microsoft Word wildcards to match timecodes

I want to remove the timecodes from the Microsoft Word Document. I have following pattern: 00:00:00:00 - 00:00:00:00 I am using this script: [0-9]{2}\:[0-9]{2}\:[0-9]{2}\:[0-9]{2} - [0-9]{2}\:[0-9]{2}\...
Viraj Shah's user avatar
0 votes
2 answers
56 views

What regex would I use to add javadocs to a java program in vscode?

My current attempt: Find: (^$\n[\s]*.*\{|^$\n[\s]*.*@.*$) Replace: /***/$1 Problem: works well except for the fact that the javadoc boilerplate is not indented. What change would I implement to indent ...
kesarling's user avatar
  • 2,102
0 votes
1 answer
120 views

Visual Studio IDE - Find and Replace Prevent Jumping to Next Result?

Is there any workaround or extension to prevent Visual Studio IDE 2022 from scrolling my view when clicking the "Replace Next" button in the Find-and-Replace related windows? I use REGEX ...
DigitalDesignDude's user avatar
1 vote
1 answer
912 views

VBA, setting a range in a Word document to edit a specific section of text

I am working with VBA in an xlsx document, and I am attempting to alter a separate rtf document to replace the words in a specific range between two tags on the document. I have managed to replace all ...
BJennin4's user avatar
0 votes
1 answer
109 views

How can I use RegEx to find and replace over multiple columns in Google Sheets using App Script?

I want a find/replace script in Google Sheets App script using RegEx to find and replace over multiple columns. I can only either find and replace using RegEx in one column or find and replace over ...
Bri's user avatar
  • 3
0 votes
0 answers
106 views

Create Apple script / Automator's app for find/replace in PDF files

I have a small problem with PDF files that I export from Figma. I make a text link in Figma file I export PDF with this text I open PDF in Acrobat (or whatever viewer) and I see my link in black box (...
toomze's user avatar
  • 1
0 votes
1 answer
526 views

"Replace All" does nothing when using the "Replace in Selection" feature in Visual Studio Code

Replacing in selection is a crazy difficult process - and it apparently does not even work. Getting to the point of even having Replace in Selection enabled we need to: highlight the area Hit Find ...
WestCoastProjects's user avatar
0 votes
1 answer
288 views

How do I find and replace all occurrences of a mapping of multiple replacements in Visual Studio Code?

Is there a way of taking the native function of changing all occurrences within a file at the same time? Let's say change all FR1 to FR2 by selecting FR1 and pressing Ctrl+ F2 then typing FR2 and ...
Juan Ojeda's user avatar

15 30 50 per page
1
2 3 4 5
13