Page 7 of 8

Re: hpwControl Plugin - Early Preview for Feedback

PostPosted: Wed Feb 12, 2014 3:58 am
by HPW
Hello,

I have watched your youtube video and I am not able to reproduce this in my latest englisch neobook version.
And it is nothing for sure that a plugin itself would do, since this function is code from the neobook IDE.
So neosoft should have a look.
Is there an official russian version?

Regards

Re: hpwControl Plugin - Early Preview for Feedback

PostPosted: Wed Feb 12, 2014 12:29 pm
by mishem
Is there an official russian version?


No. :(

Re: hpwControl Plugin - Early Preview for Feedback

PostPosted: Fri Feb 14, 2014 6:36 pm
by Leos
After a few hours trying to implement a routine to sort ordered values ​​in a string I decided to do a search in the available plugins, and, among others, I found this command:

Code: Select all
hpwLineSort

(hpwControl Plugin)

That simple!

Thank you Hans Peter

Re: hpwControl Plugin - Early Preview for Feedback

PostPosted: Sun Feb 16, 2014 8:32 pm
by mishem
About gaps.
You can probably even add the command "Remove two or more spaces in a row"

Re: hpwControl Plugin - Early Preview for Feedback

PostPosted: Mon Feb 17, 2014 2:54 pm
by Leos
yes, and if you use it with
Code: Select all
StrParse
you have a lot of nice things to do !

thanks

Re: hpwControl Plugin - Early Preview for Feedback

PostPosted: Wed Mar 04, 2015 6:36 am
by mishem
Hello.
Prompt please, in compiling regular expressions is possible to specify case-insensitive mode?

It is necessary for example to find Jon, joN, jON, JoN, etc.

Tried to substitute \ i, may be there is some sort of other options?

Re: hpwControl Plugin - Early Preview for Feedback

PostPosted: Wed Mar 04, 2015 7:45 am
by HPW
Hello,

It works for me in the demo pub with:

Code: Select all
(?i)Jon


and in Source entry: Jon, joN, jON, JoN

http://regexpstudio.com/TRegExpr/Help/R ... yntax.html

Regards

Re: hpwControl Plugin - Early Preview for Feedback

PostPosted: Wed Mar 04, 2015 9:18 am
by mishem
That's perfect! Thanks. I will continue to investigate.

Re: hpwControl Plugin - Early Preview for Feedback

PostPosted: Sat Dec 19, 2015 6:50 pm
by mishem
Hello!

Your example:
Image

I need to replace a pattern in a few lines.
Image

It is necessary as a result of three lines.
Image
Image

And it turns out only one.

Maybe replace the pattern in several lines?

Re: hpwControl Plugin - Early Preview for Feedback

PostPosted: Sat Dec 19, 2015 11:11 pm
by HPW
Hello,

When I use the sample of 'Replace String' with the following params:
Code: Select all
(\+\d\d *)?(\(\d+\) *)?\d+(-\d*)*

and
Code: Select all
Zone code $1, city code $2. Whole phone number is  $&

Input field:
Code: Select all
Phone of hpwSoft in Germany is +49(5242) 999-97
Phone of hpwSoft in Germany is +49(5242) 999-98
Phone of hpwSoft in Germany is +49(5242) 999-99


The result seems what you want. So whats te question/problem?

Regards

Re: hpwControl Plugin - Early Preview for Feedback

PostPosted: Sat Dec 19, 2015 11:19 pm
by mishem
I for some reason only one row in the result.

video
http://rghost.ru/8PNrk2nXw

It's hard to explain. :(
There are for example three lines matching a regular expression.
Two lines must remain unchanged, and the fifth change the pattern.

Re: hpwControl Plugin - Early Preview for Feedback

PostPosted: Sat Dec 19, 2015 11:47 pm
by mishem
In RegexBuddy.

Regular expression:
Code: Select all
<tr.+?(<td>.+?</td>).+?(<td>.+?</td>).+?(<td>.+?</td>).+?</tr>


The replacement string:
Code: Select all
<tr>${1}
${2}
</tr>


Text verification:
Code: Select all
<tr class="orangeRows">
                             <td>strong name</td>
                             <td>строгое имя</td>
                             <td>strong name</td>
                          </tr>
<tr>
                             <td>Strong Lyrics</td>
                             <td>грубые тексты песен</td>
                             <td>strong name</td>
                          </tr>
<tr class="orangeRows">
                             <td>strong password</td>
                             <td>надежный пароль</td>
                             <td>strong name</td>
                          </tr>


"Find and replace all matches" as a result of:
Code: Select all
<tr><td>strong name</td>
<td>строгое имя</td>
</tr>

<tr><td>Strong Lyrics</td>
<td>грубые тексты песен</td>
</tr>

<tr><td>strong password</td>
<td>надежный пароль</td>
</tr>


Something like this...

Now, the same thing needs to be done with the plug.
I can not do it. :(

Re: hpwControl Plugin - Early Preview for Feedback

PostPosted: Sun Dec 20, 2015 12:00 am
by HPW
Hello,

In your Video you use the 'Substitude String' sample. My answer was using the 'Replace String' sample above on top right of page 4.
There I put te sampe data and it works there.

Regards

Re: hpwControl Plugin - Early Preview for Feedback

PostPosted: Sun Dec 20, 2015 12:11 am
by mishem
Hello,

'Replace String' is not appropriate.
It is necessary to precisely pattern.
For all rows regular expression is the same, and it is necessary simply to remove the last row.
Earlier, I wrote an example of what you need.

You can do that?

Re: hpwControl Plugin - Early Preview for Feedback

PostPosted: Sun Dec 20, 2015 12:14 am
by mishem
I apologize for the translation. Do not take it literally.