How to remove everything after a word
up vote
1
down vote
favorite
How I can remove everything after domain.com/?
Example:
csa.domain.com/blsbls/lsads
asd.domain.com/blabla
bsa.domain.com/blsbls
I want to to remove everything after domain.com/ so my result will be:
csa.domain.com/
asd.domain.com/
bsa.domain.com/
notepad++
add a comment |
up vote
1
down vote
favorite
How I can remove everything after domain.com/?
Example:
csa.domain.com/blsbls/lsads
asd.domain.com/blabla
bsa.domain.com/blsbls
I want to to remove everything after domain.com/ so my result will be:
csa.domain.com/
asd.domain.com/
bsa.domain.com/
notepad++
Generally, you need a program that recognizes slashes to be separators, like how spaces are separators for words. Then, Ctrl-right arrow may jump you to the slash. (Then it's a matter of Shift-End, then Delete.)
– TOOGAM
Apr 28 '16 at 21:52
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
How I can remove everything after domain.com/?
Example:
csa.domain.com/blsbls/lsads
asd.domain.com/blabla
bsa.domain.com/blsbls
I want to to remove everything after domain.com/ so my result will be:
csa.domain.com/
asd.domain.com/
bsa.domain.com/
notepad++
How I can remove everything after domain.com/?
Example:
csa.domain.com/blsbls/lsads
asd.domain.com/blabla
bsa.domain.com/blsbls
I want to to remove everything after domain.com/ so my result will be:
csa.domain.com/
asd.domain.com/
bsa.domain.com/
notepad++
notepad++
edited Apr 29 '16 at 8:43
DavidPostill♦
102k25216252
102k25216252
asked Apr 28 '16 at 21:49
John Matheu
613
613
Generally, you need a program that recognizes slashes to be separators, like how spaces are separators for words. Then, Ctrl-right arrow may jump you to the slash. (Then it's a matter of Shift-End, then Delete.)
– TOOGAM
Apr 28 '16 at 21:52
add a comment |
Generally, you need a program that recognizes slashes to be separators, like how spaces are separators for words. Then, Ctrl-right arrow may jump you to the slash. (Then it's a matter of Shift-End, then Delete.)
– TOOGAM
Apr 28 '16 at 21:52
Generally, you need a program that recognizes slashes to be separators, like how spaces are separators for words. Then, Ctrl-right arrow may jump you to the slash. (Then it's a matter of Shift-End, then Delete.)
– TOOGAM
Apr 28 '16 at 21:52
Generally, you need a program that recognizes slashes to be separators, like how spaces are separators for words. Then, Ctrl-right arrow may jump you to the slash. (Then it's a matter of Shift-End, then Delete.)
– TOOGAM
Apr 28 '16 at 21:52
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
I want to to remove everything after domain.com/
Menu "Search" > "Replace" (or Ctrl + H)
Set "Find what" to
com.*$Set "Replace with" to
comEnable "Regular expression"
Click "Replace All"

Before:
csa.domain.com/blsbls/lsads
asd.domain.com/blabla
bsa.domain.com/blsbls
After:
csa.domain.com/
asd.domain.com/
bsa.domain.com/
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
add a comment |
up vote
-1
down vote
If you dont have installed notepad try online text tool :
http://www.text-filter.com/tools/remove-everything-after-slash/
1
What question are you answering?
– Toto
Jul 9 at 15:42
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I want to to remove everything after domain.com/
Menu "Search" > "Replace" (or Ctrl + H)
Set "Find what" to
com.*$Set "Replace with" to
comEnable "Regular expression"
Click "Replace All"

Before:
csa.domain.com/blsbls/lsads
asd.domain.com/blabla
bsa.domain.com/blsbls
After:
csa.domain.com/
asd.domain.com/
bsa.domain.com/
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
add a comment |
up vote
0
down vote
I want to to remove everything after domain.com/
Menu "Search" > "Replace" (or Ctrl + H)
Set "Find what" to
com.*$Set "Replace with" to
comEnable "Regular expression"
Click "Replace All"

Before:
csa.domain.com/blsbls/lsads
asd.domain.com/blabla
bsa.domain.com/blsbls
After:
csa.domain.com/
asd.domain.com/
bsa.domain.com/
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
add a comment |
up vote
0
down vote
up vote
0
down vote
I want to to remove everything after domain.com/
Menu "Search" > "Replace" (or Ctrl + H)
Set "Find what" to
com.*$Set "Replace with" to
comEnable "Regular expression"
Click "Replace All"

Before:
csa.domain.com/blsbls/lsads
asd.domain.com/blabla
bsa.domain.com/blsbls
After:
csa.domain.com/
asd.domain.com/
bsa.domain.com/
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
I want to to remove everything after domain.com/
Menu "Search" > "Replace" (or Ctrl + H)
Set "Find what" to
com.*$Set "Replace with" to
comEnable "Regular expression"
Click "Replace All"

Before:
csa.domain.com/blsbls/lsads
asd.domain.com/blabla
bsa.domain.com/blsbls
After:
csa.domain.com/
asd.domain.com/
bsa.domain.com/
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
answered Apr 29 '16 at 8:41
DavidPostill♦
102k25216252
102k25216252
add a comment |
add a comment |
up vote
-1
down vote
If you dont have installed notepad try online text tool :
http://www.text-filter.com/tools/remove-everything-after-slash/
1
What question are you answering?
– Toto
Jul 9 at 15:42
add a comment |
up vote
-1
down vote
If you dont have installed notepad try online text tool :
http://www.text-filter.com/tools/remove-everything-after-slash/
1
What question are you answering?
– Toto
Jul 9 at 15:42
add a comment |
up vote
-1
down vote
up vote
-1
down vote
If you dont have installed notepad try online text tool :
http://www.text-filter.com/tools/remove-everything-after-slash/
If you dont have installed notepad try online text tool :
http://www.text-filter.com/tools/remove-everything-after-slash/
edited Jul 9 at 15:58
answered Jul 9 at 15:37
Alisa Denis
11
11
1
What question are you answering?
– Toto
Jul 9 at 15:42
add a comment |
1
What question are you answering?
– Toto
Jul 9 at 15:42
1
1
What question are you answering?
– Toto
Jul 9 at 15:42
What question are you answering?
– Toto
Jul 9 at 15:42
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%2f1071050%2fhow-to-remove-everything-after-a-word%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
Generally, you need a program that recognizes slashes to be separators, like how spaces are separators for words. Then, Ctrl-right arrow may jump you to the slash. (Then it's a matter of Shift-End, then Delete.)
– TOOGAM
Apr 28 '16 at 21:52