Please help me anyone :(
-
may i ask for some help here please. i’ve been trying to get my head around this problems for days now.
please give me a helping hand anyone. its quite hard and complicate so i’ve made a video demonstrating the issue
im having here so please watch the video and see if anyone can help me out please, thank you guys.
im looking forward to an answer, been so crazy this past 3-4 days just trying to figure this out.https://www.youtube.com/watch?v=wlkjVQdFBHU&feature=youtu.be
-
welcome to the notepad++ community, @Dgsu-Sgdt
could you please paste a part of your code here for us, as sample for testing ?
first type a line with these characters:
```
then below that your code
then another line with these characters:```
your code will now look like that:
<create command="....">...<...> <create command="....">...<...> <create command="....">...<...>
btw.: it’s a veeeery long video ;-)
-
thank you friend. sure ill post the file here so if anyone would willing to help can take a look at it.
yeah sorry i know the video is a little long due to the typing and not having a mic
but if anyone knows please help me out. also if anyone is willing to help me privately through team viewer
i’ll give a little bit of tip like $10 for a drink as an offer to your kindness because i really this need.
this is just a basic concept of what i want to do, i have a bigger file but the concept is the file
and the example i provided in this video is that concept. i just wanna to knwo some really simple method of
find and replace or add number incrementally. but since i am new to this stuff and notepad ++, its a big challenge for me so
again let me know if you can help me privately. for those who just wanna help here real quick i’d also wanna thank you so much for
your kindness and time as well. anyhow here is the file.http://www.mediafire.com/file/7272q7owj944lx0/Need+Help+Example.txt
-
im not really sure what you want me to do but this maybe?
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, <create command="generate("thekingofmokani;,1,1)">1 | thekingofmokani</generate> ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, <create command="generate("thewarriorofdeath;,1,1)">1 | thewarriorofdeath</generate> ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, <create command="generate("theladyofmountmunaki;,1,1)">1 | theladyofmountmunaki</generate> ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, <create command="generate("thegodofheavenandearth;,1,1)">1 | thegodofheavenandearth</generate> ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, <create command="generate("theboyofvalhellin;,1,1)">1 | theboyofvalhellin</generate> ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, <create command="generate("thevookini;,1,1)">1 | thevookini</generate> ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, <create command="generate("thesoldiersofmahnunaki;,1,1)">1 | thesoldiersofmahnunaki</generate> ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, <create command="generate("themanofjustice;,1,1)">1 | themanofjustice</generate> ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, <create command="generate("thelastofkenduniki;,1,1)">1 | thelastofkenduniki</generate> ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, <create command="generate("thesirrence;,1,1)">1 | thesirrence</generate> ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
-
Hello, @dgsu-sgdt, @meta-chuh and All,
OK, your file seems very well structured, with blocks of 10 lines, all finishing with the string
thesirrence</generate>
. And, presently, each block is separated from the next one with a blank line, beginning with3
tabulations characters.So, let’s suppose that we start with this initial sample text, below, just shortened to
3
blocks, only, of10
lines each :<create command="generate("thekingofmokani;,1,0)">0 | thekingofmokani</generate> <create command="generate("thewarriorofdeath;,1,0)">0 | thewarriorofdeath</generate> <create command="generate("theladyofmountmunaki;,1,0)">0 | theladyofmountmunaki</generate> <create command="generate("thegodofheavenandearth;,1,0)">0 | thegodofheavenandearth</generate> <create command="generate("theboyofvalhellin;,1,0)">0 | theboyofvalhellin</generate> <create command="generate("thevookini;,1,0)">0 | thevookini</generate> <create command="generate("thesoldiersofmahnunaki;,1,0)">0 | thesoldiersofmahnunaki</generate> <create command="generate("themanofjustice;,1,0)">0 | themanofjustice</generate> <create command="generate("thelastofkenduniki;,1,0)">0 | thelastofkenduniki</generate> <create command="generate("thesirrence;,1,0)">0 | thesirrence</generate> <create command="generate("thekingofmokani;,1,0)">0 | thekingofmokani</generate> <create command="generate("thewarriorofdeath;,1,0)">0 | thewarriorofdeath</generate> <create command="generate("theladyofmountmunaki;,1,0)">0 | theladyofmountmunaki</generate> <create command="generate("thegodofheavenandearth;,1,0)">0 | thegodofheavenandearth</generate> <create command="generate("theboyofvalhellin;,1,0)">0 | theboyofvalhellin</generate> <create command="generate("thevookini;,1,0)">0 | thevookini</generate> <create command="generate("thesoldiersofmahnunaki;,1,0)">0 | thesoldiersofmahnunaki</generate> <create command="generate("themanofjustice;,1,0)">0 | themanofjustice</generate> <create command="generate("thelastofkenduniki;,1,0)">0 | thelastofkenduniki</generate> <create command="generate("thesirrence;,1,0)">0 | thesirrence</generate> <create command="generate("thekingofmokani;,1,0)">0 | thekingofmokani</generate> <create command="generate("thewarriorofdeath;,1,0)">0 | thewarriorofdeath</generate> <create command="generate("theladyofmountmunaki;,1,0)">0 | theladyofmountmunaki</generate> <create command="generate("thegodofheavenandearth;,1,0)">0 | thegodofheavenandearth</generate> <create command="generate("theboyofvalhellin;,1,0)">0 | theboyofvalhellin</generate> <create command="generate("thevookini;,1,0)">0 | thevookini</generate> <create command="generate("thesoldiersofmahnunaki;,1,0)">0 | thesoldiersofmahnunaki</generate> <create command="generate("themanofjustice;,1,0)">0 | themanofjustice</generate> <create command="generate("thelastofkenduniki;,1,0)">0 | thelastofkenduniki</generate> <create command="generate("thesirrence;,1,0)">0 | thesirrence</generate>
Just note that I changed any of your numbers with the
0
digit, in order to demonstrate the way to insert numbers, in an incrementally way. Of course, I could have writtenabc
or anything else to start with !Then :
-
Open the Replace dialog (
Ctrl + H
) -
Type in the regex
^\t+\R
, in the Find what: zone -
Leave the Replace with:
EMPTY
-
Check the
Wrap Around
option -
Select the
Regular expression
search mode -
Click on the
Replace All
button
You should get the text, below, without any separator line :
<create command="generate("thekingofmokani;,1,0)">0 | thekingofmokani</generate> <create command="generate("thewarriorofdeath;,1,0)">0 | thewarriorofdeath</generate> <create command="generate("theladyofmountmunaki;,1,0)">0 | theladyofmountmunaki</generate> <create command="generate("thegodofheavenandearth;,1,0)">0 | thegodofheavenandearth</generate> <create command="generate("theboyofvalhellin;,1,0)">0 | theboyofvalhellin</generate> <create command="generate("thevookini;,1,0)">0 | thevookini</generate> <create command="generate("thesoldiersofmahnunaki;,1,0)">0 | thesoldiersofmahnunaki</generate> <create command="generate("themanofjustice;,1,0)">0 | themanofjustice</generate> <create command="generate("thelastofkenduniki;,1,0)">0 | thelastofkenduniki</generate> <create command="generate("thesirrence;,1,0)">0 | thesirrence</generate> <create command="generate("thekingofmokani;,1,0)">0 | thekingofmokani</generate> <create command="generate("thewarriorofdeath;,1,0)">0 | thewarriorofdeath</generate> <create command="generate("theladyofmountmunaki;,1,0)">0 | theladyofmountmunaki</generate> <create command="generate("thegodofheavenandearth;,1,0)">0 | thegodofheavenandearth</generate> <create command="generate("theboyofvalhellin;,1,0)">0 | theboyofvalhellin</generate> <create command="generate("thevookini;,1,0)">0 | thevookini</generate> <create command="generate("thesoldiersofmahnunaki;,1,0)">0 | thesoldiersofmahnunaki</generate> <create command="generate("themanofjustice;,1,0)">0 | themanofjustice</generate> <create command="generate("thelastofkenduniki;,1,0)">0 | thelastofkenduniki</generate> <create command="generate("thesirrence;,1,0)">0 | thesirrence</generate> <create command="generate("thekingofmokani;,1,0)">0 | thekingofmokani</generate> <create command="generate("thewarriorofdeath;,1,0)">0 | thewarriorofdeath</generate> <create command="generate("theladyofmountmunaki;,1,0)">0 | theladyofmountmunaki</generate> <create command="generate("thegodofheavenandearth;,1,0)">0 | thegodofheavenandearth</generate> <create command="generate("theboyofvalhellin;,1,0)">0 | theboyofvalhellin</generate> <create command="generate("thevookini;,1,0)">0 | thevookini</generate> <create command="generate("thesoldiersofmahnunaki;,1,0)">0 | thesoldiersofmahnunaki</generate> <create command="generate("themanofjustice;,1,0)">0 | themanofjustice</generate> <create command="generate("thelastofkenduniki;,1,0)">0 | thelastofkenduniki</generate> <create command="generate("thesirrence;,1,0)">0 | thesirrence</generate>
Now :
-
Open the Column Editor (
Alt + C
) -
Move your cursor, at the very beginning ( Column
1
) of the first line<create command="generate(....
-
Select the option
Number to Insert
-
Type in the digit
1
in theInitial Number
field -
Type in the digit
1
in theIncrease by
field -
Type in the number
10
, in theRepeat
field -
Do not tick the
Leading zeros
option -
Click on the OK button
The text has become :
1 <create command="generate("thekingofmokani;,1,0)">0 | thekingofmokani</generate> 1 <create command="generate("thewarriorofdeath;,1,0)">0 | thewarriorofdeath</generate> 1 <create command="generate("theladyofmountmunaki;,1,0)">0 | theladyofmountmunaki</generate> 1 <create command="generate("thegodofheavenandearth;,1,0)">0 | thegodofheavenandearth</generate> 1 <create command="generate("theboyofvalhellin;,1,0)">0 | theboyofvalhellin</generate> 1 <create command="generate("thevookini;,1,0)">0 | thevookini</generate> 1 <create command="generate("thesoldiersofmahnunaki;,1,0)">0 | thesoldiersofmahnunaki</generate> 1 <create command="generate("themanofjustice;,1,0)">0 | themanofjustice</generate> 1 <create command="generate("thelastofkenduniki;,1,0)">0 | thelastofkenduniki</generate> 1 <create command="generate("thesirrence;,1,0)">0 | thesirrence</generate> 2 <create command="generate("thekingofmokani;,1,0)">0 | thekingofmokani</generate> 2 <create command="generate("thewarriorofdeath;,1,0)">0 | thewarriorofdeath</generate> 2 <create command="generate("theladyofmountmunaki;,1,0)">0 | theladyofmountmunaki</generate> 2 <create command="generate("thegodofheavenandearth;,1,0)">0 | thegodofheavenandearth</generate> 2 <create command="generate("theboyofvalhellin;,1,0)">0 | theboyofvalhellin</generate> 2 <create command="generate("thevookini;,1,0)">0 | thevookini</generate> 2 <create command="generate("thesoldiersofmahnunaki;,1,0)">0 | thesoldiersofmahnunaki</generate> 2 <create command="generate("themanofjustice;,1,0)">0 | themanofjustice</generate> 2 <create command="generate("thelastofkenduniki;,1,0)">0 | thelastofkenduniki</generate> 2 <create command="generate("thesirrence;,1,0)">0 | thesirrence</generate> 3 <create command="generate("thekingofmokani;,1,0)">0 | thekingofmokani</generate> 3 <create command="generate("thewarriorofdeath;,1,0)">0 | thewarriorofdeath</generate> 3 <create command="generate("theladyofmountmunaki;,1,0)">0 | theladyofmountmunaki</generate> 3 <create command="generate("thegodofheavenandearth;,1,0)">0 | thegodofheavenandearth</generate> 3 <create command="generate("theboyofvalhellin;,1,0)">0 | theboyofvalhellin</generate> 3 <create command="generate("thevookini;,1,0)">0 | thevookini</generate> 3 <create command="generate("thesoldiersofmahnunaki;,1,0)">0 | thesoldiersofmahnunaki</generate> 3 <create command="generate("themanofjustice;,1,0)">0 | themanofjustice</generate> 3 <create command="generate("thelastofkenduniki;,1,0)">0 | thelastofkenduniki</generate> 3 <create command="generate("thesirrence;,1,0)">0 | thesirrence</generate>
I continue this discussion in the next post, below, as any post cannot contain more than
16,384
bytes !guy038
-
-
Hello, @dgsu-sgdt, @meta-chuh, and All,
Now, we’re about to insert the right numbers, instead of the digit
0
and, simultaneously, to delete the temporary numbering :-
Open the Replace dialog, again
-
Use the same options as before
SEARCH
^(\d+)(.+,1,).+(\)">).+\x20\|
REPLACE
\2\1\3\1\x20|
- Click on the
Replace All
button
=>
<create command="generate("thekingofmokani;,1,1)">1 | thekingofmokani</generate> <create command="generate("thewarriorofdeath;,1,1)">1 | thewarriorofdeath</generate> <create command="generate("theladyofmountmunaki;,1,1)">1 | theladyofmountmunaki</generate> <create command="generate("thegodofheavenandearth;,1,1)">1 | thegodofheavenandearth</generate> <create command="generate("theboyofvalhellin;,1,1)">1 | theboyofvalhellin</generate> <create command="generate("thevookini;,1,1)">1 | thevookini</generate> <create command="generate("thesoldiersofmahnunaki;,1,1)">1 | thesoldiersofmahnunaki</generate> <create command="generate("themanofjustice;,1,1)">1 | themanofjustice</generate> <create command="generate("thelastofkenduniki;,1,1)">1 | thelastofkenduniki</generate> <create command="generate("thesirrence;,1,1)">1 | thesirrence</generate> <create command="generate("thekingofmokani;,1,2)">2 | thekingofmokani</generate> <create command="generate("thewarriorofdeath;,1,2)">2 | thewarriorofdeath</generate> <create command="generate("theladyofmountmunaki;,1,2)">2 | theladyofmountmunaki</generate> <create command="generate("thegodofheavenandearth;,1,2)">2 | thegodofheavenandearth</generate> <create command="generate("theboyofvalhellin;,1,2)">2 | theboyofvalhellin</generate> <create command="generate("thevookini;,1,2)">2 | thevookini</generate> <create command="generate("thesoldiersofmahnunaki;,1,2)">2 | thesoldiersofmahnunaki</generate> <create command="generate("themanofjustice;,1,2)">2 | themanofjustice</generate> <create command="generate("thelastofkenduniki;,1,2)">2 | thelastofkenduniki</generate> <create command="generate("thesirrence;,1,2)">2 | thesirrence</generate> <create command="generate("thekingofmokani;,1,3)">3 | thekingofmokani</generate> <create command="generate("thewarriorofdeath;,1,3)">3 | thewarriorofdeath</generate> <create command="generate("theladyofmountmunaki;,1,3)">3 | theladyofmountmunaki</generate> <create command="generate("thegodofheavenandearth;,1,3)">3 | thegodofheavenandearth</generate> <create command="generate("theboyofvalhellin;,1,3)">3 | theboyofvalhellin</generate> <create command="generate("thevookini;,1,3)">3 | thevookini</generate> <create command="generate("thesoldiersofmahnunaki;,1,3)">3 | thesoldiersofmahnunaki</generate> <create command="generate("themanofjustice;,1,3)">3 | themanofjustice</generate> <create command="generate("thelastofkenduniki;,1,3)">3 | thelastofkenduniki</generate> <create command="generate("thesirrence;,1,3)">3 | thesirrence</generate>
As expected, the numbers
1
,2
and3
have been, now, correctly inserted,10
times for each ;-))Now, we just need to separate each block from another, with a pure blank line
-
Open the Replace dialog, for the last time
-
Use the same options as before
SEARCH
thesirrence</generate>\R
REPLACE
$0\r\n
- Click on the
Replace All
button
You get the final text below :
<create command="generate("thekingofmokani;,1,1)">1 | thekingofmokani</generate> <create command="generate("thewarriorofdeath;,1,1)">1 | thewarriorofdeath</generate> <create command="generate("theladyofmountmunaki;,1,1)">1 | theladyofmountmunaki</generate> <create command="generate("thegodofheavenandearth;,1,1)">1 | thegodofheavenandearth</generate> <create command="generate("theboyofvalhellin;,1,1)">1 | theboyofvalhellin</generate> <create command="generate("thevookini;,1,1)">1 | thevookini</generate> <create command="generate("thesoldiersofmahnunaki;,1,1)">1 | thesoldiersofmahnunaki</generate> <create command="generate("themanofjustice;,1,1)">1 | themanofjustice</generate> <create command="generate("thelastofkenduniki;,1,1)">1 | thelastofkenduniki</generate> <create command="generate("thesirrence;,1,1)">1 | thesirrence</generate> <create command="generate("thekingofmokani;,1,2)">2 | thekingofmokani</generate> <create command="generate("thewarriorofdeath;,1,2)">2 | thewarriorofdeath</generate> <create command="generate("theladyofmountmunaki;,1,2)">2 | theladyofmountmunaki</generate> <create command="generate("thegodofheavenandearth;,1,2)">2 | thegodofheavenandearth</generate> <create command="generate("theboyofvalhellin;,1,2)">2 | theboyofvalhellin</generate> <create command="generate("thevookini;,1,2)">2 | thevookini</generate> <create command="generate("thesoldiersofmahnunaki;,1,2)">2 | thesoldiersofmahnunaki</generate> <create command="generate("themanofjustice;,1,2)">2 | themanofjustice</generate> <create command="generate("thelastofkenduniki;,1,2)">2 | thelastofkenduniki</generate> <create command="generate("thesirrence;,1,2)">2 | thesirrence</generate> <create command="generate("thekingofmokani;,1,3)">3 | thekingofmokani</generate> <create command="generate("thewarriorofdeath;,1,3)">3 | thewarriorofdeath</generate> <create command="generate("theladyofmountmunaki;,1,3)">3 | theladyofmountmunaki</generate> <create command="generate("thegodofheavenandearth;,1,3)">3 | thegodofheavenandearth</generate> <create command="generate("theboyofvalhellin;,1,3)">3 | theboyofvalhellin</generate> <create command="generate("thevookini;,1,3)">3 | thevookini</generate> <create command="generate("thesoldiersofmahnunaki;,1,3)">3 | thesoldiersofmahnunaki</generate> <create command="generate("themanofjustice;,1,3)">3 | themanofjustice</generate> <create command="generate("thelastofkenduniki;,1,3)">3 | thelastofkenduniki</generate> <create command="generate("thesirrence;,1,3)">3 | thesirrence</generate>
Hope that I’ve correctly understood all your needs !
Best Regards
guy038
P.S. :
Of course, the result would be identical with any amount of your blocks, even for
10,000
blocks of10
lines ;-)) -
-
wow, thank sooo much for this genius. glad there are people like you guys out here so dumb minorities like us can have some hope in life lol. anyways that aside. what if i just want to change 1 line instead of the whole thing. for example what if i just want to just change the first line like this one ----- <create command=“generate(“thekingofmokani;,1,1)”>1 | thekingofmokani</generate> ----- but i want to change every duplicate of this line? like if i just want to change the 1,1,)”>1 value of that line but do it to every duplicate of that line down?
so for example i just want to change the first line only, but not any name or text in that line only the number so that every duplicate of that line becomes like this, 1,1,)“>1 to 1,2,)”>2 to 1,3,)">3 and so on follow down, so that means i can have 10,000 of this line but i can do it just one time. sorry if i sound dumb as hell but i guess i am lol. please ignore my stupidity and ingorant, i am a student and will do my best to follow any given instructions given, so dont hesitate if you can help a poor dummie like me, thank you so much again and again.
okay down below where the example, please take a look. thank you so much for everything. -
here you see, the first line and its duplicates are (1,1,)“>1
i want it to make it becomes like other lines with its number like first line would be 1,1,) - 1,1,)”>1 and the second line
would be 1,2,) - 1,2,)“>2 and the third would be 1,3,) - 1,3,)”>3 and so one so here take a look at this another example,
this is the actually file or project im currently working on and the other one i provided used the same concept for this one
but since this one is a large file, i only cut half of its code here for an example of what i’ve trying to do.
gosh i cant tell you how long i’ve been trying this, took me 4 days without sleep trying to find an answer on the
internet for this thing lol, please give me a helping hand :)<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>
-
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 😂😂😂