Please help me anyone :(
-
Hi, @dgsu-sgdt,
Thanks for your reply ! I saw that your lines , in your last example, have also parts like, for instance,
",1,3)
, followed with a space. Are they, also, concerned by the future replacement ?In other words, if we consider the first lines of the
3rd
block, do you expect :Case A :
<dropdown command="spawnUnits("ypRepentantLandsknecht",1,1) spawnUnits("ypRepentantLandsknecht",1,3)">3 | ypRepentantLandsknecht</dropdown> <dropdown command="spawnUnits("ypKensei",1,3) spawnUnits("ypKensei",1,3)">3 | ypKensei</dropdown> <dropdown command="spawnUnits("ypAshigaru",1,3) spawnUnits("ypAshigaru",1,3)">3 | ypAshigaru</dropdown>
OR
Case B :
<dropdown command="spawnUnits("ypRepentantLandsknecht",1,3) spawnUnits("ypRepentantLandsknecht",1,3)">3 | ypRepentantLandsknecht</dropdown> <dropdown command="spawnUnits("ypKensei",1,3) spawnUnits("ypKensei",1,3)">3 | ypKensei</dropdown> <dropdown command="spawnUnits("ypAshigaru",1,3) spawnUnits("ypAshigaru",1,3)">3 | ypAshigaru</dropdown>
BR
guy038
-
ok i know its very confusing. but if you dont mind, mayb we can do a team viewer so you can have a better idea of what this is?
you watch my screen as ill show you the real file which the big big file of this, and see if you have a better idea once you see the other
example that it contain. i know this sounds weird but if you would, let me know cuz i think it might be the only best way to show you what im doing it, if you are familiar with team viewer, ill let you see my screen so you know exactly whats going on and what im trying to do.
its not a hard thing, maybe just the way i present this makes it look so hard but im sure an expert like you would just pick it up in no
time and knows exactly whats going on if i show you the real project. thank you again and again genius of the internet :)
your work and time is trully appreciate. -
Hi, @dgsu-sgdt,
Let’s try a last attempt ! We do not need any numbering. In order to change numbers in the first line of each block, we simply have to see which number is on the next line ;-)) of the current block ;-))
So, assuming your initial text :
<dropdown command="spawnUnits("ypRepentantLandsknecht",1,1) spawnUnits("ypRepentantLandsknecht",1,1)">1 | ypRepentantLandsknecht</dropdown> <dropdown command="spawnUnits("ypKensei",1,1) spawnUnits("ypKensei",1,1)">1 | ypKensei</dropdown> <dropdown command="spawnUnits("ypAshigaru",1,1) spawnUnits("ypAshigaru",1,1)">1 | ypAshigaru</dropdown> <dropdown command="spawnUnits("ypSepoy",1,1) spawnUnits("ypSepoy",1,1)">1 | ypSepoy</dropdown> <dropdown command="spawnUnits("ypNatMercGurkha",1,1) spawnUnits("ypNatMercGurkha",1,1)">1 | ypNatMercGurkha</dropdown> <dropdown command="spawnUnits("ypChangdao",1,1) spawnUnits("ypChangdao",1,1)">1 | ypChangdao</dropdown> <dropdown command="spawnUnits("ypZamburak",1,1) spawnUnits("ypZamburak",1,1)">1 | ypZamburak</dropdown> <dropdown command="spawnUnits("ypNaginataRider",1,1) spawnUnits("ypNaginataRider",1,1)">1 | ypNaginataRider</dropdown> <dropdown command="spawnUnits("ypRepentantLandsknecht",1,1) spawnUnits("ypRepentantLandsknecht",1,1)">1 | ypRepentantLandsknecht</dropdown> <dropdown command="spawnUnits("ypKensei",1,2) spawnUnits("ypKensei",1,2)">2 | ypKensei</dropdown> <dropdown command="spawnUnits("ypAshigaru",1,2) spawnUnits("ypAshigaru",1,2)">2 | ypAshigaru</dropdown> <dropdown command="spawnUnits("ypSepoy",1,2) spawnUnits("ypSepoy",1,2)">2 | ypSepoy</dropdown> <dropdown command="spawnUnits("ypNatMercGurkha",1,2) spawnUnits("ypNatMercGurkha",1,2)">2 | ypNatMercGurkha</dropdown> <dropdown command="spawnUnits("ypChangdao",1,2) spawnUnits("ypChangdao",1,2)">2 | ypChangdao</dropdown> <dropdown command="spawnUnits("ypZamburak",1,2) spawnUnits("ypZamburak",1,2)">2 | ypZamburak</dropdown> <dropdown command="spawnUnits("ypNaginataRider",1,2) spawnUnits("ypNaginataRider",1,2)">2 | ypNaginataRider</dropdown> <dropdown command="spawnUnits("ypRepentantLandsknecht",1,1) spawnUnits("ypRepentantLandsknecht",1,1)">1 | ypRepentantLandsknecht</dropdown> <dropdown command="spawnUnits("ypKensei",1,3) spawnUnits("ypKensei",1,3)">3 | ypKensei</dropdown> <dropdown command="spawnUnits("ypAshigaru",1,3) spawnUnits("ypAshigaru",1,3)">3 | ypAshigaru</dropdown> <dropdown command="spawnUnits("ypSepoy",1,3) spawnUnits("ypSepoy",1,3)">3 | ypSepoy</dropdown> <dropdown command="spawnUnits("ypNatMercGurkha",1,3) spawnUnits("ypNatMercGurkha",1,3)">3 | ypNatMercGurkha</dropdown> <dropdown command="spawnUnits("ypChangdao",1,3) spawnUnits("ypChangdao",1,3)">3 | ypChangdao</dropdown> <dropdown command="spawnUnits("ypZamburak",1,3) spawnUnits("ypZamburak",1,3)">3 | ypZamburak</dropdown> <dropdown command="spawnUnits("ypNaginataRider",1,3) spawnUnits("ypNaginataRider",1,3)">3 | ypNaginataRider</dropdown>
If you prefer the case A) :
-
Open the Replace dialog, again
-
SEARCH
\R\h*\R\K(\h*<.+?command=.+)1\)">1(?=\x20\|.+\R.+(\d+)\x20\|)
-
REPLACE
\1\2\)">\2
-
Check the
Wrap Around
option -
Select the
Regular expression
search mode -
Click on the
Replace All
button
You should obtain the following text, where numbers are changed in TWO locations of the first line of each block, only :
<dropdown command="spawnUnits("ypRepentantLandsknecht",1,1) spawnUnits("ypRepentantLandsknecht",1,1)">1 | ypRepentantLandsknecht</dropdown> <dropdown command="spawnUnits("ypKensei",1,1) spawnUnits("ypKensei",1,1)">1 | ypKensei</dropdown> <dropdown command="spawnUnits("ypAshigaru",1,1) spawnUnits("ypAshigaru",1,1)">1 | ypAshigaru</dropdown> <dropdown command="spawnUnits("ypSepoy",1,1) spawnUnits("ypSepoy",1,1)">1 | ypSepoy</dropdown> <dropdown command="spawnUnits("ypNatMercGurkha",1,1) spawnUnits("ypNatMercGurkha",1,1)">1 | ypNatMercGurkha</dropdown> <dropdown command="spawnUnits("ypChangdao",1,1) spawnUnits("ypChangdao",1,1)">1 | ypChangdao</dropdown> <dropdown command="spawnUnits("ypZamburak",1,1) spawnUnits("ypZamburak",1,1)">1 | ypZamburak</dropdown> <dropdown command="spawnUnits("ypNaginataRider",1,1) spawnUnits("ypNaginataRider",1,1)">1 | ypNaginataRider</dropdown> <dropdown command="spawnUnits("ypRepentantLandsknecht",1,1) spawnUnits("ypRepentantLandsknecht",1,2)">2 | ypRepentantLandsknecht</dropdown> <dropdown command="spawnUnits("ypKensei",1,2) spawnUnits("ypKensei",1,2)">2 | ypKensei</dropdown> <dropdown command="spawnUnits("ypAshigaru",1,2) spawnUnits("ypAshigaru",1,2)">2 | ypAshigaru</dropdown> <dropdown command="spawnUnits("ypSepoy",1,2) spawnUnits("ypSepoy",1,2)">2 | ypSepoy</dropdown> <dropdown command="spawnUnits("ypNatMercGurkha",1,2) spawnUnits("ypNatMercGurkha",1,2)">2 | ypNatMercGurkha</dropdown> <dropdown command="spawnUnits("ypChangdao",1,2) spawnUnits("ypChangdao",1,2)">2 | ypChangdao</dropdown> <dropdown command="spawnUnits("ypZamburak",1,2) spawnUnits("ypZamburak",1,2)">2 | ypZamburak</dropdown> <dropdown command="spawnUnits("ypNaginataRider",1,2) spawnUnits("ypNaginataRider",1,2)">2 | ypNaginataRider</dropdown> <dropdown command="spawnUnits("ypRepentantLandsknecht",1,1) spawnUnits("ypRepentantLandsknecht",1,3)">3 | ypRepentantLandsknecht</dropdown> <dropdown command="spawnUnits("ypKensei",1,3) spawnUnits("ypKensei",1,3)">3 | ypKensei</dropdown> <dropdown command="spawnUnits("ypAshigaru",1,3) spawnUnits("ypAshigaru",1,3)">3 | ypAshigaru</dropdown> <dropdown command="spawnUnits("ypSepoy",1,3) spawnUnits("ypSepoy",1,3)">3 | ypSepoy</dropdown> <dropdown command="spawnUnits("ypNatMercGurkha",1,3) spawnUnits("ypNatMercGurkha",1,3)">3 | ypNatMercGurkha</dropdown> <dropdown command="spawnUnits("ypChangdao",1,3) spawnUnits("ypChangdao",1,3)">3 | ypChangdao</dropdown> <dropdown command="spawnUnits("ypZamburak",1,3) spawnUnits("ypZamburak",1,3)">3 | ypZamburak</dropdown> <dropdown command="spawnUnits("ypNaginataRider",1,3) spawnUnits("ypNaginataRider",1,3)">3 | ypNaginataRider</dropdown>
Now, if you prefer the case B) :
-
Open the Replace dialog, again
-
SEARCH
\R\h*\R\K(\h*<.+?command=.+?;,1,)1(\).+?;,1,)1\)">1(?=\x20\|.+\R.+(\d+)\x20\|)
-
REPLACE
\1\3\2\3\)">\3
-
Check the
Wrap Around
option -
Select the
Regular expression
search mode -
Click on the
Replace All
button
This time, You should get the following text, where numbers are changed in THREE locations, of the first line of each block, only :
<dropdown command="spawnUnits("ypRepentantLandsknecht",1,1) spawnUnits("ypRepentantLandsknecht",1,1)">1 | ypRepentantLandsknecht</dropdown> <dropdown command="spawnUnits("ypKensei",1,1) spawnUnits("ypKensei",1,1)">1 | ypKensei</dropdown> <dropdown command="spawnUnits("ypAshigaru",1,1) spawnUnits("ypAshigaru",1,1)">1 | ypAshigaru</dropdown> <dropdown command="spawnUnits("ypSepoy",1,1) spawnUnits("ypSepoy",1,1)">1 | ypSepoy</dropdown> <dropdown command="spawnUnits("ypNatMercGurkha",1,1) spawnUnits("ypNatMercGurkha",1,1)">1 | ypNatMercGurkha</dropdown> <dropdown command="spawnUnits("ypChangdao",1,1) spawnUnits("ypChangdao",1,1)">1 | ypChangdao</dropdown> <dropdown command="spawnUnits("ypZamburak",1,1) spawnUnits("ypZamburak",1,1)">1 | ypZamburak</dropdown> <dropdown command="spawnUnits("ypNaginataRider",1,1) spawnUnits("ypNaginataRider",1,1)">1 | ypNaginataRider</dropdown> <dropdown command="spawnUnits("ypRepentantLandsknecht",1,2) spawnUnits("ypRepentantLandsknecht",1,2)">2 | ypRepentantLandsknecht</dropdown> <dropdown command="spawnUnits("ypKensei",1,2) spawnUnits("ypKensei",1,2)">2 | ypKensei</dropdown> <dropdown command="spawnUnits("ypAshigaru",1,2) spawnUnits("ypAshigaru",1,2)">2 | ypAshigaru</dropdown> <dropdown command="spawnUnits("ypSepoy",1,2) spawnUnits("ypSepoy",1,2)">2 | ypSepoy</dropdown> <dropdown command="spawnUnits("ypNatMercGurkha",1,2) spawnUnits("ypNatMercGurkha",1,2)">2 | ypNatMercGurkha</dropdown> <dropdown command="spawnUnits("ypChangdao",1,2) spawnUnits("ypChangdao",1,2)">2 | ypChangdao</dropdown> <dropdown command="spawnUnits("ypZamburak",1,2) spawnUnits("ypZamburak",1,2)">2 | ypZamburak</dropdown> <dropdown command="spawnUnits("ypNaginataRider",1,2) spawnUnits("ypNaginataRider",1,2)">2 | ypNaginataRider</dropdown> <dropdown command="spawnUnits("ypRepentantLandsknecht",1,3) spawnUnits("ypRepentantLandsknecht",1,3)">3 | ypRepentantLandsknecht</dropdown> <dropdown command="spawnUnits("ypKensei",1,3) spawnUnits("ypKensei",1,3)">3 | ypKensei</dropdown> <dropdown command="spawnUnits("ypAshigaru",1,3) spawnUnits("ypAshigaru",1,3)">3 | ypAshigaru</dropdown> <dropdown command="spawnUnits("ypSepoy",1,3) spawnUnits("ypSepoy",1,3)">3 | ypSepoy</dropdown> <dropdown command="spawnUnits("ypNatMercGurkha",1,3) spawnUnits("ypNatMercGurkha",1,3)">3 | ypNatMercGurkha</dropdown> <dropdown command="spawnUnits("ypChangdao",1,3) spawnUnits("ypChangdao",1,3)">3 | ypChangdao</dropdown> <dropdown command="spawnUnits("ypZamburak",1,3) spawnUnits("ypZamburak",1,3)">3 | ypZamburak</dropdown> <dropdown command="spawnUnits("ypNaginataRider",1,3) spawnUnits("ypNaginataRider",1,3)">3 | ypNaginataRider</dropdown>
Cheers,
guy038
-
-
This post is deleted! -
Hi, @dgsu-sgdt,
When I said :
Let’s try a last attempt !
I just thought : …before you send me, your file, by e-mail, if not personal nor confidential, with some explanations ! Something like :
I have this PRESENT part of text and I would like it to be MODIFIED as ......
Click on my avatar to read my e-mail address.
So, if my previous post does not meet your needs, just let me know !
BR
guy038
-
@guy038 said:
Click on my avatar to read my e-mail address.
When I do this I don’t see your email. Not that I was going to send you one. I just thought that maybe everyone’s email was exposed this way, so I was checking. :)
-
Alan’s right, you must have disabled displaying it 1-2 years ago and i guess you did it for a reason back then.
all long term regulars already have your mail address and i’d strongly suggest not to make it public now for everyone, due to your position, unless you want to get bombarded with “private” questions, or if you want to have a date 😂
-
Hello, @alan-kilborn and @meta-chuh,
No, I have not disabled anything, in my profile, yet !! Moreover, I’m a bit confused…
When I said “Click on my avatar…”, I’m not talking about the one, on the top right corner, but about the one, just in front of each post, on the left side of the screen !
Personally, if I click on this one OR, as well, if I click on my “pseudo” @guy038, right before the text
posted about ...... ago
, a new page occurs, with :-
In the left side, my avatar, displayed in a larger format, and some information ( Reputation, Posts, Profile View, Email, Followers, Following, Joined, Last Online… )
-
In the right side, my most recent posts are displayed, with a possibility to follow them
You certainly see a similar displaying, don’t you ? Of course, as a moderator, I also see some other buttons. For instance, in order to ban or to delete an account, that are probably invisible to current users ! But, just be quiet ! I’ve never had to do such actions, up to now ;-))
In some former posts, I gave my e-mail address, in clear. And, yesterday, I decided to avoid writing my e-mail address, directly, thinking that a user click would be just good. I know that is a very weak protection ! But, we are civilized people, in this forum, aren’t we ? So, I don’t mind giving it, if this helps someone to send me an attachment, for a better reply :-))
Best Regards,
guy038
P.S. :
I received your mail @meta-chuh and I’ll answer you very soon !
-
-
You see your OWN email because the system isn’t considering it a breach of security to show it to YOU. If you are set to not share it with everyone you should see an “eye” icon with a slash through it, I guess meaning that no one else can see it.
-
@guy038
See link to image I’ve made combining your and my profile info. Note I have a eye with the slash (as @Alan-Kilborn stated) so nobody can see my email address. You will have one as well. Actually I’m intrigued to see someone else’s view of my profile, Am I showing too much!So my view of your profile is as seen in the image.
https://imgur.com/a/qqRJKrITerry
-
When I said “Click on my avatar…”, I’m not talking about the one, on the top right corner, but about the one, just in front of each post, on the left side of the screen !
yes, there’s a difference between you clicking on your own moderator profile and other nodeBB users. it’s best seen if you log out and click on your avatar as a guest.
your current privacy setting looks more or less like this:
But, we are civilized people, in this forum, aren’t we ? So, I don’t mind giving it, if this helps someone to send me an attachment, for a better reply :-))
i hope you’re correct and maybe i’m just over protective.
Actually I’m intrigued to see someone else’s view of my profile, Am I showing too much!
depends on what you consider too much ;-)
on a default account, as well as if not logged in, your profile looks like this:and here’s an inline of @Terry-R 's screenshot of the “slashed eye” @Alan-Kilborn mentioned above
(ps: sorry for borrowing and reposting your pic inline, but i consider it of use to others to know how to check what, and if they really want to publish the data they’re showing) -
heheheheheheee 😄
it took me 'till now to actually discover your “and now helping in the Notepad++ forum.” message 😂😂😂