More info on adding tabs in places (Notepad++)
Hiya I am trying to learn how to figure out myself how to enter tabs where I need them, so, right now I have;
Kona Cotton: Violet Craft Designer Palette - Violet Craft FQ-1481-20$28.00 per bundle
What I need is;
Kona Cotton: Violet Craft Designer Palette - Violet Craft [TAB] FQ-1481-20[TAB]$28.00 per bundle
And the codes are all different, the only thing that wont change is the $ sign placement right next to the product code, and the product code will always start with FQ-
notepad++
add a comment |
Hiya I am trying to learn how to figure out myself how to enter tabs where I need them, so, right now I have;
Kona Cotton: Violet Craft Designer Palette - Violet Craft FQ-1481-20$28.00 per bundle
What I need is;
Kona Cotton: Violet Craft Designer Palette - Violet Craft [TAB] FQ-1481-20[TAB]$28.00 per bundle
And the codes are all different, the only thing that wont change is the $ sign placement right next to the product code, and the product code will always start with FQ-
notepad++
add a comment |
Hiya I am trying to learn how to figure out myself how to enter tabs where I need them, so, right now I have;
Kona Cotton: Violet Craft Designer Palette - Violet Craft FQ-1481-20$28.00 per bundle
What I need is;
Kona Cotton: Violet Craft Designer Palette - Violet Craft [TAB] FQ-1481-20[TAB]$28.00 per bundle
And the codes are all different, the only thing that wont change is the $ sign placement right next to the product code, and the product code will always start with FQ-
notepad++
Hiya I am trying to learn how to figure out myself how to enter tabs where I need them, so, right now I have;
Kona Cotton: Violet Craft Designer Palette - Violet Craft FQ-1481-20$28.00 per bundle
What I need is;
Kona Cotton: Violet Craft Designer Palette - Violet Craft [TAB] FQ-1481-20[TAB]$28.00 per bundle
And the codes are all different, the only thing that wont change is the $ sign placement right next to the product code, and the product code will always start with FQ-
notepad++
notepad++
edited Jan 11 at 15:05
J B
asked Jan 11 at 14:54
J BJ B
52
52
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
- Find what:
_FQ-
Replace with:_t_FQ-
(I replaced spaces with underscores, for readability) - Find what:
$
Replace with:t$
Search Mode: Extended: This will use a true TAB character for t
.
add a comment |
Ctrl+H
- Find what:
h+(FQ-.+?)(?=$)
- Replace with:
t$1t
- check Match case
- check Wrap around
- check Regular expression
- UNCHECK
. matches newline
- Replace all
Explanation:
h+ # 1 or more horizontal spaces
( # start group 1
FQ- # literally FQ-
.+? # 1 or more any character but newline, not greedy
) # end group
(?=$) # positive lookahead, zero-length assertion that make sure we have a $ sign after
Replacement:
t # a tabulation
$1 # content of group 1
t # a tabulation
Result for given example:
Kona Cotton: Violet Craft Designer Palette - Violet Craft FQ-1481-20 $28.00 per bundle
add a comment |
Your Answer
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%2f1393195%2fmore-info-on-adding-tabs-in-places-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
- Find what:
_FQ-
Replace with:_t_FQ-
(I replaced spaces with underscores, for readability) - Find what:
$
Replace with:t$
Search Mode: Extended: This will use a true TAB character for t
.
add a comment |
- Find what:
_FQ-
Replace with:_t_FQ-
(I replaced spaces with underscores, for readability) - Find what:
$
Replace with:t$
Search Mode: Extended: This will use a true TAB character for t
.
add a comment |
- Find what:
_FQ-
Replace with:_t_FQ-
(I replaced spaces with underscores, for readability) - Find what:
$
Replace with:t$
Search Mode: Extended: This will use a true TAB character for t
.
- Find what:
_FQ-
Replace with:_t_FQ-
(I replaced spaces with underscores, for readability) - Find what:
$
Replace with:t$
Search Mode: Extended: This will use a true TAB character for t
.
answered Jan 11 at 15:12
BerendBerend
1,5551713
1,5551713
add a comment |
add a comment |
Ctrl+H
- Find what:
h+(FQ-.+?)(?=$)
- Replace with:
t$1t
- check Match case
- check Wrap around
- check Regular expression
- UNCHECK
. matches newline
- Replace all
Explanation:
h+ # 1 or more horizontal spaces
( # start group 1
FQ- # literally FQ-
.+? # 1 or more any character but newline, not greedy
) # end group
(?=$) # positive lookahead, zero-length assertion that make sure we have a $ sign after
Replacement:
t # a tabulation
$1 # content of group 1
t # a tabulation
Result for given example:
Kona Cotton: Violet Craft Designer Palette - Violet Craft FQ-1481-20 $28.00 per bundle
add a comment |
Ctrl+H
- Find what:
h+(FQ-.+?)(?=$)
- Replace with:
t$1t
- check Match case
- check Wrap around
- check Regular expression
- UNCHECK
. matches newline
- Replace all
Explanation:
h+ # 1 or more horizontal spaces
( # start group 1
FQ- # literally FQ-
.+? # 1 or more any character but newline, not greedy
) # end group
(?=$) # positive lookahead, zero-length assertion that make sure we have a $ sign after
Replacement:
t # a tabulation
$1 # content of group 1
t # a tabulation
Result for given example:
Kona Cotton: Violet Craft Designer Palette - Violet Craft FQ-1481-20 $28.00 per bundle
add a comment |
Ctrl+H
- Find what:
h+(FQ-.+?)(?=$)
- Replace with:
t$1t
- check Match case
- check Wrap around
- check Regular expression
- UNCHECK
. matches newline
- Replace all
Explanation:
h+ # 1 or more horizontal spaces
( # start group 1
FQ- # literally FQ-
.+? # 1 or more any character but newline, not greedy
) # end group
(?=$) # positive lookahead, zero-length assertion that make sure we have a $ sign after
Replacement:
t # a tabulation
$1 # content of group 1
t # a tabulation
Result for given example:
Kona Cotton: Violet Craft Designer Palette - Violet Craft FQ-1481-20 $28.00 per bundle
Ctrl+H
- Find what:
h+(FQ-.+?)(?=$)
- Replace with:
t$1t
- check Match case
- check Wrap around
- check Regular expression
- UNCHECK
. matches newline
- Replace all
Explanation:
h+ # 1 or more horizontal spaces
( # start group 1
FQ- # literally FQ-
.+? # 1 or more any character but newline, not greedy
) # end group
(?=$) # positive lookahead, zero-length assertion that make sure we have a $ sign after
Replacement:
t # a tabulation
$1 # content of group 1
t # a tabulation
Result for given example:
Kona Cotton: Violet Craft Designer Palette - Violet Craft FQ-1481-20 $28.00 per bundle
answered Jan 11 at 15:55
TotoToto
3,798101226
3,798101226
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%2f1393195%2fmore-info-on-adding-tabs-in-places-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