adding new line with text at the bottom of every opened files in notepad++?
up vote
1
down vote
favorite
I want to add text at the bottom of every opened file (as a extra line) in notepad++. I know how to add at beginning of the file.
Find what:- (?s).*
Replace with:- YOUR TEXTrn$0
which helps me more. but don't know how to add (new line with text) at the bottom.
"text hello friend"
"text hello friend"
should be changed with new line added at the bottom. like
"text hello friend"
"text hello friend"
**"text do not sin friend"**
Note "text do not sin friend" need to be added as new line in multiple files.
How can I do this?
notepad++ newlines
add a comment |
up vote
1
down vote
favorite
I want to add text at the bottom of every opened file (as a extra line) in notepad++. I know how to add at beginning of the file.
Find what:- (?s).*
Replace with:- YOUR TEXTrn$0
which helps me more. but don't know how to add (new line with text) at the bottom.
"text hello friend"
"text hello friend"
should be changed with new line added at the bottom. like
"text hello friend"
"text hello friend"
**"text do not sin friend"**
Note "text do not sin friend" need to be added as new line in multiple files.
How can I do this?
notepad++ newlines
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I want to add text at the bottom of every opened file (as a extra line) in notepad++. I know how to add at beginning of the file.
Find what:- (?s).*
Replace with:- YOUR TEXTrn$0
which helps me more. but don't know how to add (new line with text) at the bottom.
"text hello friend"
"text hello friend"
should be changed with new line added at the bottom. like
"text hello friend"
"text hello friend"
**"text do not sin friend"**
Note "text do not sin friend" need to be added as new line in multiple files.
How can I do this?
notepad++ newlines
I want to add text at the bottom of every opened file (as a extra line) in notepad++. I know how to add at beginning of the file.
Find what:- (?s).*
Replace with:- YOUR TEXTrn$0
which helps me more. but don't know how to add (new line with text) at the bottom.
"text hello friend"
"text hello friend"
should be changed with new line added at the bottom. like
"text hello friend"
"text hello friend"
**"text do not sin friend"**
Note "text do not sin friend" need to be added as new line in multiple files.
How can I do this?
notepad++ newlines
notepad++ newlines
edited Jan 7 '17 at 14:20
DavidPostill♦
102k25218254
102k25218254
asked Jan 7 '17 at 14:00
Abd
3926
3926
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
I want to add text at the bottom of every opened file (as a extra line) in notepad++
Menu "Search" > "Replace" (or Ctrl + H)
Set "Find what" to
(.*+)
- This regular expression selects the whole file, when "matches newline" is enabled.Set "Replace with" to
1rn**"text do not sin friend"**
Enable "Regular expression" and "matches newline"
Click "Replace All"
Notes:
The above assumes a file with Windows EOLs
rn
Use
n
instead ofrn
for Unix/OS X EOLs
Use
r
instead ofrn
for Mac OS (up to version 9) EOLs
Before:
"text hello friend"
"text hello friend"
After:
"text hello friend"
"text hello friend"
**"text do not sin friend"**
Further reading
- How to use regular expressions in Notepad++ (tutorial)
- Notepad++: A guide to using regular expressions and extended search mode
- Regular Expressions Tutorial
- RegExr: Learn, Build, & Test RegEx
- regex101: Online regex tester and debugger
- RegExper: Regular Expression Visualiser
it works. you are great. !!!!!!!!!---- thank you so much---!!!!!!!!!.
– Abd
Jan 7 '17 at 16:25
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
I want to add text at the bottom of every opened file (as a extra line) in notepad++
Menu "Search" > "Replace" (or Ctrl + H)
Set "Find what" to
(.*+)
- This regular expression selects the whole file, when "matches newline" is enabled.Set "Replace with" to
1rn**"text do not sin friend"**
Enable "Regular expression" and "matches newline"
Click "Replace All"
Notes:
The above assumes a file with Windows EOLs
rn
Use
n
instead ofrn
for Unix/OS X EOLs
Use
r
instead ofrn
for Mac OS (up to version 9) EOLs
Before:
"text hello friend"
"text hello friend"
After:
"text hello friend"
"text hello friend"
**"text do not sin friend"**
Further reading
- How to use regular expressions in Notepad++ (tutorial)
- Notepad++: A guide to using regular expressions and extended search mode
- Regular Expressions Tutorial
- RegExr: Learn, Build, & Test RegEx
- regex101: Online regex tester and debugger
- RegExper: Regular Expression Visualiser
it works. you are great. !!!!!!!!!---- thank you so much---!!!!!!!!!.
– Abd
Jan 7 '17 at 16:25
add a comment |
up vote
0
down vote
accepted
I want to add text at the bottom of every opened file (as a extra line) in notepad++
Menu "Search" > "Replace" (or Ctrl + H)
Set "Find what" to
(.*+)
- This regular expression selects the whole file, when "matches newline" is enabled.Set "Replace with" to
1rn**"text do not sin friend"**
Enable "Regular expression" and "matches newline"
Click "Replace All"
Notes:
The above assumes a file with Windows EOLs
rn
Use
n
instead ofrn
for Unix/OS X EOLs
Use
r
instead ofrn
for Mac OS (up to version 9) EOLs
Before:
"text hello friend"
"text hello friend"
After:
"text hello friend"
"text hello friend"
**"text do not sin friend"**
Further reading
- How to use regular expressions in Notepad++ (tutorial)
- Notepad++: A guide to using regular expressions and extended search mode
- Regular Expressions Tutorial
- RegExr: Learn, Build, & Test RegEx
- regex101: Online regex tester and debugger
- RegExper: Regular Expression Visualiser
it works. you are great. !!!!!!!!!---- thank you so much---!!!!!!!!!.
– Abd
Jan 7 '17 at 16:25
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
I want to add text at the bottom of every opened file (as a extra line) in notepad++
Menu "Search" > "Replace" (or Ctrl + H)
Set "Find what" to
(.*+)
- This regular expression selects the whole file, when "matches newline" is enabled.Set "Replace with" to
1rn**"text do not sin friend"**
Enable "Regular expression" and "matches newline"
Click "Replace All"
Notes:
The above assumes a file with Windows EOLs
rn
Use
n
instead ofrn
for Unix/OS X EOLs
Use
r
instead ofrn
for Mac OS (up to version 9) EOLs
Before:
"text hello friend"
"text hello friend"
After:
"text hello friend"
"text hello friend"
**"text do not sin friend"**
Further reading
- How to use regular expressions in Notepad++ (tutorial)
- Notepad++: A guide to using regular expressions and extended search mode
- Regular Expressions Tutorial
- RegExr: Learn, Build, & Test RegEx
- regex101: Online regex tester and debugger
- RegExper: Regular Expression Visualiser
I want to add text at the bottom of every opened file (as a extra line) in notepad++
Menu "Search" > "Replace" (or Ctrl + H)
Set "Find what" to
(.*+)
- This regular expression selects the whole file, when "matches newline" is enabled.Set "Replace with" to
1rn**"text do not sin friend"**
Enable "Regular expression" and "matches newline"
Click "Replace All"
Notes:
The above assumes a file with Windows EOLs
rn
Use
n
instead ofrn
for Unix/OS X EOLs
Use
r
instead ofrn
for Mac OS (up to version 9) EOLs
Before:
"text hello friend"
"text hello friend"
After:
"text hello friend"
"text hello friend"
**"text do not sin friend"**
Further reading
- How to use regular expressions in Notepad++ (tutorial)
- Notepad++: A guide to using regular expressions and extended search mode
- Regular Expressions Tutorial
- RegExr: Learn, Build, & Test RegEx
- regex101: Online regex tester and debugger
- RegExper: Regular Expression Visualiser
answered Jan 7 '17 at 14:45
DavidPostill♦
102k25218254
102k25218254
it works. you are great. !!!!!!!!!---- thank you so much---!!!!!!!!!.
– Abd
Jan 7 '17 at 16:25
add a comment |
it works. you are great. !!!!!!!!!---- thank you so much---!!!!!!!!!.
– Abd
Jan 7 '17 at 16:25
it works. you are great. !!!!!!!!!---- thank you so much---!!!!!!!!!.
– Abd
Jan 7 '17 at 16:25
it works. you are great. !!!!!!!!!---- thank you so much---!!!!!!!!!.
– Abd
Jan 7 '17 at 16:25
add a comment |
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%2f1164480%2fadding-new-line-with-text-at-the-bottom-of-every-opened-files-in-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