Using a batch file for find a replace

I have the following batch file, (this is an example, the real one if about 20mb) in size - Code: ECHO Assigning Aircraft Registrations to HEX/MODES codes. ECHO This may take some time.... pause copy input.csv backup1.csv pause call :FindReplace...
more »

2017-11-03 17:11 (2) Answers

How to Create a Notepad++ Regex Expression

I'm looking to highlight all instances within a very large document that contains a Number)spaceLetter For example, 1) The cat in the hat. 2) I like to read. Both 1) and 2) would be highlighted. Essentially I want to find and replace all...
more »

2017-11-01 22:11 (0) Answers

Changing a certain value with an input javascript?

So I have a javascript find and replace code here that finds what you search and replaces with an input. I need the code to find "xxxxxx" without asking for an input so the only input left would be the replace box which would automatically change xxx...
more »

2017-10-28 15:10 (2) Answers

How to replace a string in whole Git history?

I have one of my passwords commited in probably few files in my Git repo. Is there some way to replace this password with some other string in whole history automaticly so that there is no trace of it? Ideally if I could write simple bash script rece...
more »

2017-10-26 11:10 (1) Answers

Eclipse IDE, regular expression search and replace

I am attempting to setup my include statements in a large library. I need to edit specific include paths that start with "C:/Users/..." so the ending of the path is ".h"", and not ".h>" Some paths that do not start with "C:/Users/..." need to keep t...
more »

2017-10-24 07:10 (2) Answers

Textwrangler: How can I Replace \d+ with {\d+}?

I need to find and replace the text [n] with the text \textsuperscript{n}. Where n is a number between 1-99. EG. the text [15] with the text \textsuperscript{15} I am not a programmer but think grep is my friend here. I have tried: Find: \[\d+\] ...
more »

2017-10-23 10:10 (1) Answers

C++ Char Array Find / Replace a char

So basically I have an array which looks like this: char array[25]; I have an 'X' put in there, and 24 'O's. I am trying to create a function where I can find the location of 'X' in the array, so then I can move it whenever a control is typed in. ...
more »

2017-10-16 08:10 (4) Answers

Append Reporter.log with

Any one know how to replace a line with two lines in eclipse? Example: Find:"variable 1"); Replace:"variable 1"); Reporter.log("variable 1"); Note: 1. I have more than 3000 line of to replace 2. The "variable 1" is di...
more »

2017-10-06 12:10 (0) Answers

How to pass current-prefix-arg to this-command

I want to reuse current-prefix-arg when calling this-command. I can imagine ways of capturing its value and passing it to modified functions. But, this doesn't seem like a great solution. How can I reuse it (eg. push it back onto a sort of call stack...
more »

2017-10-01 13:10 (2) Answers

find and replace regex

I need find and replace the numbers (of footnotes) find "14" and replace with "[14]" With regular expression, both in kate and sigil, I can find the digits: so: find = \d\d But I cannot find the way to replace digits: not works: replace = [\d\d] C...
more »

2017-10-01 10:10 (0) Answers

Replace specific string in HTML file with PHP

I got this little problem here with my website. I want to replace a string in one of my html file. I did a php file that find the specific string and replace it but it become useless become the string to change is not the same after... In my HTML fi...
more »

2017-09-12 21:09 (2) Answers

Find and Replace Multiple fields?

I am struggling to find a solution for my issue. I have two excel documents, one with fields of "existing email addresses" and the other with "new clients email address" I don't want to send an e-mail to the "existing email addresses" so i need to ...
more »

2017-09-07 12:09 (1) Answers