Extraction - only numbers from address
The address of Japan is written in many sites as 〒000 - 0000
.
From this, I would like to extract only numbers using imacros.
In other words, I want to remove 〒
and -
.
I want to copy the extracted data, save it on the clipboard and paste it in another place.
Thank you.
(chrome 70.0.3538.102, Win10_x64)
google-chrome firefox clipboard imacros
add a comment |
The address of Japan is written in many sites as 〒000 - 0000
.
From this, I would like to extract only numbers using imacros.
In other words, I want to remove 〒
and -
.
I want to copy the extracted data, save it on the clipboard and paste it in another place.
Thank you.
(chrome 70.0.3538.102, Win10_x64)
google-chrome firefox clipboard imacros
@Strawberryshrub, I don't "agree" with the Edits to format the different parts that were between Double Quotes... For iMacros it is very important to "see" leading/trailing Spaces in an Extract as it "dictates" the exact Syntax that will be used in the 'EVAL()' Statement for the final Result. (Reason as well why I used '_' as Delimiters in my Answer to display in the 'PROMPT'...) The Forum Formatting is not very "clear" about such Spaces, and by editing the Post, you introduce a "Risk" that you might have added/removed such Spaces, or even the Formatting itself...
– chivracq
Nov 23 '18 at 9:41
I see the problem and you are right. I didnt find an option to withdraw the edit or even flag it? What can I do to take back the edit?
– Strawberryshrub
Nov 23 '18 at 11:40
add a comment |
The address of Japan is written in many sites as 〒000 - 0000
.
From this, I would like to extract only numbers using imacros.
In other words, I want to remove 〒
and -
.
I want to copy the extracted data, save it on the clipboard and paste it in another place.
Thank you.
(chrome 70.0.3538.102, Win10_x64)
google-chrome firefox clipboard imacros
The address of Japan is written in many sites as 〒000 - 0000
.
From this, I would like to extract only numbers using imacros.
In other words, I want to remove 〒
and -
.
I want to copy the extracted data, save it on the clipboard and paste it in another place.
Thank you.
(chrome 70.0.3538.102, Win10_x64)
google-chrome firefox clipboard imacros
google-chrome firefox clipboard imacros
edited Nov 23 '18 at 10:30
Rei
asked Nov 23 '18 at 5:10
ReiRei
155
155
@Strawberryshrub, I don't "agree" with the Edits to format the different parts that were between Double Quotes... For iMacros it is very important to "see" leading/trailing Spaces in an Extract as it "dictates" the exact Syntax that will be used in the 'EVAL()' Statement for the final Result. (Reason as well why I used '_' as Delimiters in my Answer to display in the 'PROMPT'...) The Forum Formatting is not very "clear" about such Spaces, and by editing the Post, you introduce a "Risk" that you might have added/removed such Spaces, or even the Formatting itself...
– chivracq
Nov 23 '18 at 9:41
I see the problem and you are right. I didnt find an option to withdraw the edit or even flag it? What can I do to take back the edit?
– Strawberryshrub
Nov 23 '18 at 11:40
add a comment |
@Strawberryshrub, I don't "agree" with the Edits to format the different parts that were between Double Quotes... For iMacros it is very important to "see" leading/trailing Spaces in an Extract as it "dictates" the exact Syntax that will be used in the 'EVAL()' Statement for the final Result. (Reason as well why I used '_' as Delimiters in my Answer to display in the 'PROMPT'...) The Forum Formatting is not very "clear" about such Spaces, and by editing the Post, you introduce a "Risk" that you might have added/removed such Spaces, or even the Formatting itself...
– chivracq
Nov 23 '18 at 9:41
I see the problem and you are right. I didnt find an option to withdraw the edit or even flag it? What can I do to take back the edit?
– Strawberryshrub
Nov 23 '18 at 11:40
@Strawberryshrub, I don't "agree" with the Edits to format the different parts that were between Double Quotes... For iMacros it is very important to "see" leading/trailing Spaces in an Extract as it "dictates" the exact Syntax that will be used in the 'EVAL()' Statement for the final Result. (Reason as well why I used '_' as Delimiters in my Answer to display in the 'PROMPT'...) The Forum Formatting is not very "clear" about such Spaces, and by editing the Post, you introduce a "Risk" that you might have added/removed such Spaces, or even the Formatting itself...
– chivracq
Nov 23 '18 at 9:41
@Strawberryshrub, I don't "agree" with the Edits to format the different parts that were between Double Quotes... For iMacros it is very important to "see" leading/trailing Spaces in an Extract as it "dictates" the exact Syntax that will be used in the 'EVAL()' Statement for the final Result. (Reason as well why I used '_' as Delimiters in my Answer to display in the 'PROMPT'...) The Forum Formatting is not very "clear" about such Spaces, and by editing the Post, you introduce a "Risk" that you might have added/removed such Spaces, or even the Formatting itself...
– chivracq
Nov 23 '18 at 9:41
I see the problem and you are right. I didnt find an option to withdraw the edit or even flag it? What can I do to take back the edit?
– Strawberryshrub
Nov 23 '18 at 11:40
I see the problem and you are right. I didnt find an option to withdraw the edit or even flag it? What can I do to take back the edit?
– Strawberryshrub
Nov 23 '18 at 11:40
add a comment |
2 Answers
2
active
oldest
votes
Posting as a separate Solution, as the Input from the Extract is now "a bit" different and changes the Syntax in 'EVAL()' quite a bit, even if I tried to reuse a bit the same Syntax with the same Commands like in Answer_#1. (And that gives a 2nd Code Example...)
SET !EXTRACT "〒 000-0000"
SET !VAR1 EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.substr(2); y=x.split('-'); z=y[0]+y[1]; z;")
SET !CLIPBOARD {{!VAR1}}
PROMPT EXTRACT:<SP>_{{!EXTRACT}}_<BR>Numbers:<SP>_{{!VAR1}}_
(Tested on iMacros for FF v8.8.2, Pale Moon v26.3.3 (=FF47), Win10_x64.)
And again, there would be more than 10 different ways to implement the same Functionality to get the same Result...
Thank you very much! It's be solved. It needs knowledge of regular expressions to master EVAL? I would like to write smoothly like you. I am using v 10.0.5 for CR (free). thank you for your kindness.
– Rei
Nov 23 '18 at 11:50
Oh, good, Thanks for accepting the Answer, really boosting my "Reputation", ah-ah...! +15 Pts, oh-oh...! Well about "regular expressions", yeah, that helps indeed, but it is not "required", I am an Advanced User and I never use REGEX that I find too complicated, I always find a different way to implement the same Functionality without REGEX, usually with 'split()' which can be very powerful...
– chivracq
Nov 23 '18 at 12:50
add a comment |
"Nice" to select the 'Chrome' + 'Firefox' Forum Tags but more useful would be if you had mentioned your FCI for both Browsers..., but the following Implementation for example should work in both Browsers for all iMacros Versions:
SET !EXTRACT "〒000 - 0000"
SET !VAR1 EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.substr(1); y=x.split(' '); z=y[0]+y[2]; z;")
SET !CLIPBOARD {{!VAR1}}
PROMPT EXTRACT:<SP>_{{!EXTRACT}}_<BR>Numbers:<SP>_{{!VAR1}}_
(Tested on iMacros for FF v8.8.2, Pale Moon v26.3.3 (=FF47), Win10_x64.)
"for example" => as you could implement the Functionality that you want in more than 10 ways using all kinds of different Combinations with other JS String Methods...
(I didn't include the Content of '{{!CLIPBOARD}}' in the 'PROMPT' as this is not supported on CR, but a 'Paste' from your OS Clipboard in 'Notepad' for example should still work...)
Thank you for your reply. It worked well. However, the data I acquired is "〒 000-0000" and " There was a half-width space between 〒 "and" 000-0000 "(I overlooked this ...) Therefore, the error notation" undefined "was made.Please tell me once again. Thank you.
– Rei
Nov 23 '18 at 10:22
Ah...!, this is indeed for iMacros a "completely different" Input, the 'EVAL()' is always exactly "tailored" on what Input/Format you expect from the Extract... => OK, posting the adapted Script as a separate Answer, you can each time see in the 'SET !EXTRACT' part which Input I started from, and that gives you 2 different Sample Codes...
– chivracq
Nov 23 '18 at 11:07
Oh, and you've mentioned (part of) your FCI, but the most important Info is still missing... => The iMacros Version...! Will probably be v10.0.5 for CR I reckon...?, => 'Free' or 'PE'...? (Well I used '!VAR1' deliberately to make the Script work also in the 'Free' Version...)
– chivracq
Nov 23 '18 at 11:10
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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%2fstackoverflow.com%2fquestions%2f53440926%2fextraction-only-numbers-from-address%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
Posting as a separate Solution, as the Input from the Extract is now "a bit" different and changes the Syntax in 'EVAL()' quite a bit, even if I tried to reuse a bit the same Syntax with the same Commands like in Answer_#1. (And that gives a 2nd Code Example...)
SET !EXTRACT "〒 000-0000"
SET !VAR1 EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.substr(2); y=x.split('-'); z=y[0]+y[1]; z;")
SET !CLIPBOARD {{!VAR1}}
PROMPT EXTRACT:<SP>_{{!EXTRACT}}_<BR>Numbers:<SP>_{{!VAR1}}_
(Tested on iMacros for FF v8.8.2, Pale Moon v26.3.3 (=FF47), Win10_x64.)
And again, there would be more than 10 different ways to implement the same Functionality to get the same Result...
Thank you very much! It's be solved. It needs knowledge of regular expressions to master EVAL? I would like to write smoothly like you. I am using v 10.0.5 for CR (free). thank you for your kindness.
– Rei
Nov 23 '18 at 11:50
Oh, good, Thanks for accepting the Answer, really boosting my "Reputation", ah-ah...! +15 Pts, oh-oh...! Well about "regular expressions", yeah, that helps indeed, but it is not "required", I am an Advanced User and I never use REGEX that I find too complicated, I always find a different way to implement the same Functionality without REGEX, usually with 'split()' which can be very powerful...
– chivracq
Nov 23 '18 at 12:50
add a comment |
Posting as a separate Solution, as the Input from the Extract is now "a bit" different and changes the Syntax in 'EVAL()' quite a bit, even if I tried to reuse a bit the same Syntax with the same Commands like in Answer_#1. (And that gives a 2nd Code Example...)
SET !EXTRACT "〒 000-0000"
SET !VAR1 EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.substr(2); y=x.split('-'); z=y[0]+y[1]; z;")
SET !CLIPBOARD {{!VAR1}}
PROMPT EXTRACT:<SP>_{{!EXTRACT}}_<BR>Numbers:<SP>_{{!VAR1}}_
(Tested on iMacros for FF v8.8.2, Pale Moon v26.3.3 (=FF47), Win10_x64.)
And again, there would be more than 10 different ways to implement the same Functionality to get the same Result...
Thank you very much! It's be solved. It needs knowledge of regular expressions to master EVAL? I would like to write smoothly like you. I am using v 10.0.5 for CR (free). thank you for your kindness.
– Rei
Nov 23 '18 at 11:50
Oh, good, Thanks for accepting the Answer, really boosting my "Reputation", ah-ah...! +15 Pts, oh-oh...! Well about "regular expressions", yeah, that helps indeed, but it is not "required", I am an Advanced User and I never use REGEX that I find too complicated, I always find a different way to implement the same Functionality without REGEX, usually with 'split()' which can be very powerful...
– chivracq
Nov 23 '18 at 12:50
add a comment |
Posting as a separate Solution, as the Input from the Extract is now "a bit" different and changes the Syntax in 'EVAL()' quite a bit, even if I tried to reuse a bit the same Syntax with the same Commands like in Answer_#1. (And that gives a 2nd Code Example...)
SET !EXTRACT "〒 000-0000"
SET !VAR1 EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.substr(2); y=x.split('-'); z=y[0]+y[1]; z;")
SET !CLIPBOARD {{!VAR1}}
PROMPT EXTRACT:<SP>_{{!EXTRACT}}_<BR>Numbers:<SP>_{{!VAR1}}_
(Tested on iMacros for FF v8.8.2, Pale Moon v26.3.3 (=FF47), Win10_x64.)
And again, there would be more than 10 different ways to implement the same Functionality to get the same Result...
Posting as a separate Solution, as the Input from the Extract is now "a bit" different and changes the Syntax in 'EVAL()' quite a bit, even if I tried to reuse a bit the same Syntax with the same Commands like in Answer_#1. (And that gives a 2nd Code Example...)
SET !EXTRACT "〒 000-0000"
SET !VAR1 EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.substr(2); y=x.split('-'); z=y[0]+y[1]; z;")
SET !CLIPBOARD {{!VAR1}}
PROMPT EXTRACT:<SP>_{{!EXTRACT}}_<BR>Numbers:<SP>_{{!VAR1}}_
(Tested on iMacros for FF v8.8.2, Pale Moon v26.3.3 (=FF47), Win10_x64.)
And again, there would be more than 10 different ways to implement the same Functionality to get the same Result...
answered Nov 23 '18 at 11:16
chivracqchivracq
12338
12338
Thank you very much! It's be solved. It needs knowledge of regular expressions to master EVAL? I would like to write smoothly like you. I am using v 10.0.5 for CR (free). thank you for your kindness.
– Rei
Nov 23 '18 at 11:50
Oh, good, Thanks for accepting the Answer, really boosting my "Reputation", ah-ah...! +15 Pts, oh-oh...! Well about "regular expressions", yeah, that helps indeed, but it is not "required", I am an Advanced User and I never use REGEX that I find too complicated, I always find a different way to implement the same Functionality without REGEX, usually with 'split()' which can be very powerful...
– chivracq
Nov 23 '18 at 12:50
add a comment |
Thank you very much! It's be solved. It needs knowledge of regular expressions to master EVAL? I would like to write smoothly like you. I am using v 10.0.5 for CR (free). thank you for your kindness.
– Rei
Nov 23 '18 at 11:50
Oh, good, Thanks for accepting the Answer, really boosting my "Reputation", ah-ah...! +15 Pts, oh-oh...! Well about "regular expressions", yeah, that helps indeed, but it is not "required", I am an Advanced User and I never use REGEX that I find too complicated, I always find a different way to implement the same Functionality without REGEX, usually with 'split()' which can be very powerful...
– chivracq
Nov 23 '18 at 12:50
Thank you very much! It's be solved. It needs knowledge of regular expressions to master EVAL? I would like to write smoothly like you. I am using v 10.0.5 for CR (free). thank you for your kindness.
– Rei
Nov 23 '18 at 11:50
Thank you very much! It's be solved. It needs knowledge of regular expressions to master EVAL? I would like to write smoothly like you. I am using v 10.0.5 for CR (free). thank you for your kindness.
– Rei
Nov 23 '18 at 11:50
Oh, good, Thanks for accepting the Answer, really boosting my "Reputation", ah-ah...! +15 Pts, oh-oh...! Well about "regular expressions", yeah, that helps indeed, but it is not "required", I am an Advanced User and I never use REGEX that I find too complicated, I always find a different way to implement the same Functionality without REGEX, usually with 'split()' which can be very powerful...
– chivracq
Nov 23 '18 at 12:50
Oh, good, Thanks for accepting the Answer, really boosting my "Reputation", ah-ah...! +15 Pts, oh-oh...! Well about "regular expressions", yeah, that helps indeed, but it is not "required", I am an Advanced User and I never use REGEX that I find too complicated, I always find a different way to implement the same Functionality without REGEX, usually with 'split()' which can be very powerful...
– chivracq
Nov 23 '18 at 12:50
add a comment |
"Nice" to select the 'Chrome' + 'Firefox' Forum Tags but more useful would be if you had mentioned your FCI for both Browsers..., but the following Implementation for example should work in both Browsers for all iMacros Versions:
SET !EXTRACT "〒000 - 0000"
SET !VAR1 EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.substr(1); y=x.split(' '); z=y[0]+y[2]; z;")
SET !CLIPBOARD {{!VAR1}}
PROMPT EXTRACT:<SP>_{{!EXTRACT}}_<BR>Numbers:<SP>_{{!VAR1}}_
(Tested on iMacros for FF v8.8.2, Pale Moon v26.3.3 (=FF47), Win10_x64.)
"for example" => as you could implement the Functionality that you want in more than 10 ways using all kinds of different Combinations with other JS String Methods...
(I didn't include the Content of '{{!CLIPBOARD}}' in the 'PROMPT' as this is not supported on CR, but a 'Paste' from your OS Clipboard in 'Notepad' for example should still work...)
Thank you for your reply. It worked well. However, the data I acquired is "〒 000-0000" and " There was a half-width space between 〒 "and" 000-0000 "(I overlooked this ...) Therefore, the error notation" undefined "was made.Please tell me once again. Thank you.
– Rei
Nov 23 '18 at 10:22
Ah...!, this is indeed for iMacros a "completely different" Input, the 'EVAL()' is always exactly "tailored" on what Input/Format you expect from the Extract... => OK, posting the adapted Script as a separate Answer, you can each time see in the 'SET !EXTRACT' part which Input I started from, and that gives you 2 different Sample Codes...
– chivracq
Nov 23 '18 at 11:07
Oh, and you've mentioned (part of) your FCI, but the most important Info is still missing... => The iMacros Version...! Will probably be v10.0.5 for CR I reckon...?, => 'Free' or 'PE'...? (Well I used '!VAR1' deliberately to make the Script work also in the 'Free' Version...)
– chivracq
Nov 23 '18 at 11:10
add a comment |
"Nice" to select the 'Chrome' + 'Firefox' Forum Tags but more useful would be if you had mentioned your FCI for both Browsers..., but the following Implementation for example should work in both Browsers for all iMacros Versions:
SET !EXTRACT "〒000 - 0000"
SET !VAR1 EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.substr(1); y=x.split(' '); z=y[0]+y[2]; z;")
SET !CLIPBOARD {{!VAR1}}
PROMPT EXTRACT:<SP>_{{!EXTRACT}}_<BR>Numbers:<SP>_{{!VAR1}}_
(Tested on iMacros for FF v8.8.2, Pale Moon v26.3.3 (=FF47), Win10_x64.)
"for example" => as you could implement the Functionality that you want in more than 10 ways using all kinds of different Combinations with other JS String Methods...
(I didn't include the Content of '{{!CLIPBOARD}}' in the 'PROMPT' as this is not supported on CR, but a 'Paste' from your OS Clipboard in 'Notepad' for example should still work...)
Thank you for your reply. It worked well. However, the data I acquired is "〒 000-0000" and " There was a half-width space between 〒 "and" 000-0000 "(I overlooked this ...) Therefore, the error notation" undefined "was made.Please tell me once again. Thank you.
– Rei
Nov 23 '18 at 10:22
Ah...!, this is indeed for iMacros a "completely different" Input, the 'EVAL()' is always exactly "tailored" on what Input/Format you expect from the Extract... => OK, posting the adapted Script as a separate Answer, you can each time see in the 'SET !EXTRACT' part which Input I started from, and that gives you 2 different Sample Codes...
– chivracq
Nov 23 '18 at 11:07
Oh, and you've mentioned (part of) your FCI, but the most important Info is still missing... => The iMacros Version...! Will probably be v10.0.5 for CR I reckon...?, => 'Free' or 'PE'...? (Well I used '!VAR1' deliberately to make the Script work also in the 'Free' Version...)
– chivracq
Nov 23 '18 at 11:10
add a comment |
"Nice" to select the 'Chrome' + 'Firefox' Forum Tags but more useful would be if you had mentioned your FCI for both Browsers..., but the following Implementation for example should work in both Browsers for all iMacros Versions:
SET !EXTRACT "〒000 - 0000"
SET !VAR1 EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.substr(1); y=x.split(' '); z=y[0]+y[2]; z;")
SET !CLIPBOARD {{!VAR1}}
PROMPT EXTRACT:<SP>_{{!EXTRACT}}_<BR>Numbers:<SP>_{{!VAR1}}_
(Tested on iMacros for FF v8.8.2, Pale Moon v26.3.3 (=FF47), Win10_x64.)
"for example" => as you could implement the Functionality that you want in more than 10 ways using all kinds of different Combinations with other JS String Methods...
(I didn't include the Content of '{{!CLIPBOARD}}' in the 'PROMPT' as this is not supported on CR, but a 'Paste' from your OS Clipboard in 'Notepad' for example should still work...)
"Nice" to select the 'Chrome' + 'Firefox' Forum Tags but more useful would be if you had mentioned your FCI for both Browsers..., but the following Implementation for example should work in both Browsers for all iMacros Versions:
SET !EXTRACT "〒000 - 0000"
SET !VAR1 EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.substr(1); y=x.split(' '); z=y[0]+y[2]; z;")
SET !CLIPBOARD {{!VAR1}}
PROMPT EXTRACT:<SP>_{{!EXTRACT}}_<BR>Numbers:<SP>_{{!VAR1}}_
(Tested on iMacros for FF v8.8.2, Pale Moon v26.3.3 (=FF47), Win10_x64.)
"for example" => as you could implement the Functionality that you want in more than 10 ways using all kinds of different Combinations with other JS String Methods...
(I didn't include the Content of '{{!CLIPBOARD}}' in the 'PROMPT' as this is not supported on CR, but a 'Paste' from your OS Clipboard in 'Notepad' for example should still work...)
answered Nov 23 '18 at 8:32
chivracqchivracq
12338
12338
Thank you for your reply. It worked well. However, the data I acquired is "〒 000-0000" and " There was a half-width space between 〒 "and" 000-0000 "(I overlooked this ...) Therefore, the error notation" undefined "was made.Please tell me once again. Thank you.
– Rei
Nov 23 '18 at 10:22
Ah...!, this is indeed for iMacros a "completely different" Input, the 'EVAL()' is always exactly "tailored" on what Input/Format you expect from the Extract... => OK, posting the adapted Script as a separate Answer, you can each time see in the 'SET !EXTRACT' part which Input I started from, and that gives you 2 different Sample Codes...
– chivracq
Nov 23 '18 at 11:07
Oh, and you've mentioned (part of) your FCI, but the most important Info is still missing... => The iMacros Version...! Will probably be v10.0.5 for CR I reckon...?, => 'Free' or 'PE'...? (Well I used '!VAR1' deliberately to make the Script work also in the 'Free' Version...)
– chivracq
Nov 23 '18 at 11:10
add a comment |
Thank you for your reply. It worked well. However, the data I acquired is "〒 000-0000" and " There was a half-width space between 〒 "and" 000-0000 "(I overlooked this ...) Therefore, the error notation" undefined "was made.Please tell me once again. Thank you.
– Rei
Nov 23 '18 at 10:22
Ah...!, this is indeed for iMacros a "completely different" Input, the 'EVAL()' is always exactly "tailored" on what Input/Format you expect from the Extract... => OK, posting the adapted Script as a separate Answer, you can each time see in the 'SET !EXTRACT' part which Input I started from, and that gives you 2 different Sample Codes...
– chivracq
Nov 23 '18 at 11:07
Oh, and you've mentioned (part of) your FCI, but the most important Info is still missing... => The iMacros Version...! Will probably be v10.0.5 for CR I reckon...?, => 'Free' or 'PE'...? (Well I used '!VAR1' deliberately to make the Script work also in the 'Free' Version...)
– chivracq
Nov 23 '18 at 11:10
Thank you for your reply. It worked well. However, the data I acquired is "〒 000-0000" and " There was a half-width space between 〒 "and" 000-0000 "(I overlooked this ...) Therefore, the error notation" undefined "was made.Please tell me once again. Thank you.
– Rei
Nov 23 '18 at 10:22
Thank you for your reply. It worked well. However, the data I acquired is "〒 000-0000" and " There was a half-width space between 〒 "and" 000-0000 "(I overlooked this ...) Therefore, the error notation" undefined "was made.Please tell me once again. Thank you.
– Rei
Nov 23 '18 at 10:22
Ah...!, this is indeed for iMacros a "completely different" Input, the 'EVAL()' is always exactly "tailored" on what Input/Format you expect from the Extract... => OK, posting the adapted Script as a separate Answer, you can each time see in the 'SET !EXTRACT' part which Input I started from, and that gives you 2 different Sample Codes...
– chivracq
Nov 23 '18 at 11:07
Ah...!, this is indeed for iMacros a "completely different" Input, the 'EVAL()' is always exactly "tailored" on what Input/Format you expect from the Extract... => OK, posting the adapted Script as a separate Answer, you can each time see in the 'SET !EXTRACT' part which Input I started from, and that gives you 2 different Sample Codes...
– chivracq
Nov 23 '18 at 11:07
Oh, and you've mentioned (part of) your FCI, but the most important Info is still missing... => The iMacros Version...! Will probably be v10.0.5 for CR I reckon...?, => 'Free' or 'PE'...? (Well I used '!VAR1' deliberately to make the Script work also in the 'Free' Version...)
– chivracq
Nov 23 '18 at 11:10
Oh, and you've mentioned (part of) your FCI, but the most important Info is still missing... => The iMacros Version...! Will probably be v10.0.5 for CR I reckon...?, => 'Free' or 'PE'...? (Well I used '!VAR1' deliberately to make the Script work also in the 'Free' Version...)
– chivracq
Nov 23 '18 at 11:10
add a comment |
Thanks for contributing an answer to Stack Overflow!
- 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%2fstackoverflow.com%2fquestions%2f53440926%2fextraction-only-numbers-from-address%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
@Strawberryshrub, I don't "agree" with the Edits to format the different parts that were between Double Quotes... For iMacros it is very important to "see" leading/trailing Spaces in an Extract as it "dictates" the exact Syntax that will be used in the 'EVAL()' Statement for the final Result. (Reason as well why I used '_' as Delimiters in my Answer to display in the 'PROMPT'...) The Forum Formatting is not very "clear" about such Spaces, and by editing the Post, you introduce a "Risk" that you might have added/removed such Spaces, or even the Formatting itself...
– chivracq
Nov 23 '18 at 9:41
I see the problem and you are right. I didnt find an option to withdraw the edit or even flag it? What can I do to take back the edit?
– Strawberryshrub
Nov 23 '18 at 11:40