Search and replace newline in windows Notepad The Next CEO of Stack OverflowWindows 7 search...
Would a grinding machine be a simple and workable propulsion system for an interplanetary spacecraft?
Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact
Can this transistor (2n2222) take 6V on emitter-base? Am I reading datasheet incorrectly?
Free fall ellipse or parabola?
Which acid/base does a strong base/acid react when added to a buffer solution?
Strange use of "whether ... than ..." in official text
logical reads on global temp table, but not on session-level temp table
Compensation for working overtime on Saturdays
Why doesn't Shulchan Aruch include the laws of destroying fruit trees?
Create custom note boxes
Airship steam engine room - problems and conflict
Incomplete cube
How exploitable/balanced is this homebrew spell: Spell Permanency?
Masking layers by a vector polygon layer in QGIS
Upgrading From a 9 Speed Sora Derailleur?
What did the word "leisure" mean in late 18th Century usage?
pgfplots: How to draw a tangent graph below two others?
How can the PCs determine if an item is a phylactery?
How should I connect my cat5 cable to connectors having an orange-green line?
Salesforce opportunity stages
Is a distribution that is normal, but highly skewed, considered Gaussian?
What day is it again?
Does Germany produce more waste than the US?
Why can't we say "I have been having a dog"?
Search and replace newline in windows Notepad
The Next CEO of Stack OverflowWindows 7 search of NAS devicesNotepad with instant search in filesCheck for solution (after BSOD) does nothingWindows 7 Notepad using Terminal 6 font shrinks line font with grave characterShortcut in Notepad++ to switch between search box and main window (Windows 7)Windows Explorer Advanced SearchNotepad doesn't show line breaksFiles not opening correctly with NotepadHow do I analyze a notepad crash? (Windows7)Opening a file in notepad and saving without corrupting
Normally I'd do a search and replace for "n" but that doesn't seem to work.
I think it might by ^(something) but can't remember what.
Note this is question is directed at Notepad, not Notepad++. Bad Bing and Google, no biscuit!
windows-7 notepad
bumped to the homepage by Community♦ 4 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Normally I'd do a search and replace for "n" but that doesn't seem to work.
I think it might by ^(something) but can't remember what.
Note this is question is directed at Notepad, not Notepad++. Bad Bing and Google, no biscuit!
windows-7 notepad
bumped to the homepage by Community♦ 4 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
This site suggests either^l
or^p
but I couldn't get it to work in my tests.
– Burgi
Nov 26 '15 at 10:55
add a comment |
Normally I'd do a search and replace for "n" but that doesn't seem to work.
I think it might by ^(something) but can't remember what.
Note this is question is directed at Notepad, not Notepad++. Bad Bing and Google, no biscuit!
windows-7 notepad
Normally I'd do a search and replace for "n" but that doesn't seem to work.
I think it might by ^(something) but can't remember what.
Note this is question is directed at Notepad, not Notepad++. Bad Bing and Google, no biscuit!
windows-7 notepad
windows-7 notepad
asked Nov 26 '15 at 10:34
Mr Mystery GuestMr Mystery Guest
11329
11329
bumped to the homepage by Community♦ 4 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 4 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
This site suggests either^l
or^p
but I couldn't get it to work in my tests.
– Burgi
Nov 26 '15 at 10:55
add a comment |
This site suggests either^l
or^p
but I couldn't get it to work in my tests.
– Burgi
Nov 26 '15 at 10:55
This site suggests either
^l
or ^p
but I couldn't get it to work in my tests.– Burgi
Nov 26 '15 at 10:55
This site suggests either
^l
or ^p
but I couldn't get it to work in my tests.– Burgi
Nov 26 '15 at 10:55
add a comment |
2 Answers
2
active
oldest
votes
There's not a direct way in Notepad itself, but if you don't want to use an external program and you're comfortable with the command line you could do something like the following:
type FILE_NAME | more /P > TEMP_FILE_NAME && move /Y TEMP_FILE_NAME FILE_NAME
This will output the file to the more
command, and with the /P
will expand form feed characters (i.e. change n
to rn
) and save it to the temp file you specify .. the move /Y
just automates it a little more to overwrite the old file with the n
endings with the new file with the rn
endings.
Hope that helps.
add a comment |
Use Notepad2. It is literally the first thing I do after installing any version of Windows. Always.
Florian (the creator) has an installer that will replace the normal Notepad.exe application that ships with Windows (admin/elevation required to install it, not needed to run it). After using the installer, Notepad2 will run instead, whenever 'notepad.exe' is run.
You can also download a normal installer (installs to where ever you choose) where elevation is not required to install it, as well as the source code, etc.
Using Notepad2 for the search and replace is super simple. In the Replace text dialog, check the 'Translate backslashes' option. Then you can use rn
, n
, t
, etc., in the Search and/or Replace text fields.
add a comment |
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1005746%2fsearch-and-replace-newline-in-windows-notepad%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
There's not a direct way in Notepad itself, but if you don't want to use an external program and you're comfortable with the command line you could do something like the following:
type FILE_NAME | more /P > TEMP_FILE_NAME && move /Y TEMP_FILE_NAME FILE_NAME
This will output the file to the more
command, and with the /P
will expand form feed characters (i.e. change n
to rn
) and save it to the temp file you specify .. the move /Y
just automates it a little more to overwrite the old file with the n
endings with the new file with the rn
endings.
Hope that helps.
add a comment |
There's not a direct way in Notepad itself, but if you don't want to use an external program and you're comfortable with the command line you could do something like the following:
type FILE_NAME | more /P > TEMP_FILE_NAME && move /Y TEMP_FILE_NAME FILE_NAME
This will output the file to the more
command, and with the /P
will expand form feed characters (i.e. change n
to rn
) and save it to the temp file you specify .. the move /Y
just automates it a little more to overwrite the old file with the n
endings with the new file with the rn
endings.
Hope that helps.
add a comment |
There's not a direct way in Notepad itself, but if you don't want to use an external program and you're comfortable with the command line you could do something like the following:
type FILE_NAME | more /P > TEMP_FILE_NAME && move /Y TEMP_FILE_NAME FILE_NAME
This will output the file to the more
command, and with the /P
will expand form feed characters (i.e. change n
to rn
) and save it to the temp file you specify .. the move /Y
just automates it a little more to overwrite the old file with the n
endings with the new file with the rn
endings.
Hope that helps.
There's not a direct way in Notepad itself, but if you don't want to use an external program and you're comfortable with the command line you could do something like the following:
type FILE_NAME | more /P > TEMP_FILE_NAME && move /Y TEMP_FILE_NAME FILE_NAME
This will output the file to the more
command, and with the /P
will expand form feed characters (i.e. change n
to rn
) and save it to the temp file you specify .. the move /Y
just automates it a little more to overwrite the old file with the n
endings with the new file with the rn
endings.
Hope that helps.
answered Nov 26 '15 at 11:20
txtechhelptxtechhelp
3,09211219
3,09211219
add a comment |
add a comment |
Use Notepad2. It is literally the first thing I do after installing any version of Windows. Always.
Florian (the creator) has an installer that will replace the normal Notepad.exe application that ships with Windows (admin/elevation required to install it, not needed to run it). After using the installer, Notepad2 will run instead, whenever 'notepad.exe' is run.
You can also download a normal installer (installs to where ever you choose) where elevation is not required to install it, as well as the source code, etc.
Using Notepad2 for the search and replace is super simple. In the Replace text dialog, check the 'Translate backslashes' option. Then you can use rn
, n
, t
, etc., in the Search and/or Replace text fields.
add a comment |
Use Notepad2. It is literally the first thing I do after installing any version of Windows. Always.
Florian (the creator) has an installer that will replace the normal Notepad.exe application that ships with Windows (admin/elevation required to install it, not needed to run it). After using the installer, Notepad2 will run instead, whenever 'notepad.exe' is run.
You can also download a normal installer (installs to where ever you choose) where elevation is not required to install it, as well as the source code, etc.
Using Notepad2 for the search and replace is super simple. In the Replace text dialog, check the 'Translate backslashes' option. Then you can use rn
, n
, t
, etc., in the Search and/or Replace text fields.
add a comment |
Use Notepad2. It is literally the first thing I do after installing any version of Windows. Always.
Florian (the creator) has an installer that will replace the normal Notepad.exe application that ships with Windows (admin/elevation required to install it, not needed to run it). After using the installer, Notepad2 will run instead, whenever 'notepad.exe' is run.
You can also download a normal installer (installs to where ever you choose) where elevation is not required to install it, as well as the source code, etc.
Using Notepad2 for the search and replace is super simple. In the Replace text dialog, check the 'Translate backslashes' option. Then you can use rn
, n
, t
, etc., in the Search and/or Replace text fields.
Use Notepad2. It is literally the first thing I do after installing any version of Windows. Always.
Florian (the creator) has an installer that will replace the normal Notepad.exe application that ships with Windows (admin/elevation required to install it, not needed to run it). After using the installer, Notepad2 will run instead, whenever 'notepad.exe' is run.
You can also download a normal installer (installs to where ever you choose) where elevation is not required to install it, as well as the source code, etc.
Using Notepad2 for the search and replace is super simple. In the Replace text dialog, check the 'Translate backslashes' option. Then you can use rn
, n
, t
, etc., in the Search and/or Replace text fields.
edited Nov 26 '15 at 18:15
answered Nov 26 '15 at 17:14
Kody BrownKody Brown
24914
24914
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1005746%2fsearch-and-replace-newline-in-windows-notepad%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
This site suggests either
^l
or^p
but I couldn't get it to work in my tests.– Burgi
Nov 26 '15 at 10:55