Source language: Translate to:

hpwControl Plugin - Early Preview for Feedback

Questions about NeoBook PlugIns

Moderator: Neosoft Support

Re: hpwControl Plugin - Early Preview for Feedback

Postby HPW » Wed Feb 12, 2014 3:58 am

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
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: hpwControl Plugin - Early Preview for Feedback

Postby mishem » Wed Feb 12, 2014 12:29 pm

Is there an official russian version?


No. :(
mishem
 
Posts: 575
Joined: Mon Oct 08, 2012 1:51 pm

Re: hpwControl Plugin - Early Preview for Feedback

Postby Leos » Fri Feb 14, 2014 6:36 pm

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
User avatar
Leos
 
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal

Re: hpwControl Plugin - Early Preview for Feedback

Postby mishem » Sun Feb 16, 2014 8:32 pm

About gaps.
You can probably even add the command "Remove two or more spaces in a row"
mishem
 
Posts: 575
Joined: Mon Oct 08, 2012 1:51 pm

Re: hpwControl Plugin - Early Preview for Feedback

Postby Leos » Mon Feb 17, 2014 2:54 pm

yes, and if you use it with
Code: Select all
StrParse
you have a lot of nice things to do !

thanks
User avatar
Leos
 
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal

Re: hpwControl Plugin - Early Preview for Feedback

Postby mishem » Wed Mar 04, 2015 6:36 am

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?
mishem
 
Posts: 575
Joined: Mon Oct 08, 2012 1:51 pm

Re: hpwControl Plugin - Early Preview for Feedback

Postby HPW » Wed Mar 04, 2015 7:45 am

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
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: hpwControl Plugin - Early Preview for Feedback

Postby mishem » Wed Mar 04, 2015 9:18 am

That's perfect! Thanks. I will continue to investigate.
mishem
 
Posts: 575
Joined: Mon Oct 08, 2012 1:51 pm

Re: hpwControl Plugin - Early Preview for Feedback

Postby mishem » Sat Dec 19, 2015 6:50 pm

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?
mishem
 
Posts: 575
Joined: Mon Oct 08, 2012 1:51 pm

Re: hpwControl Plugin - Early Preview for Feedback

Postby HPW » Sat Dec 19, 2015 11:11 pm

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
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: hpwControl Plugin - Early Preview for Feedback

Postby mishem » Sat Dec 19, 2015 11:19 pm

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.
mishem
 
Posts: 575
Joined: Mon Oct 08, 2012 1:51 pm

Re: hpwControl Plugin - Early Preview for Feedback

Postby mishem » Sat Dec 19, 2015 11:47 pm

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. :(
mishem
 
Posts: 575
Joined: Mon Oct 08, 2012 1:51 pm

Re: hpwControl Plugin - Early Preview for Feedback

Postby HPW » Sun Dec 20, 2015 12:00 am

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
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: hpwControl Plugin - Early Preview for Feedback

Postby mishem » Sun Dec 20, 2015 12:11 am

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?
mishem
 
Posts: 575
Joined: Mon Oct 08, 2012 1:51 pm

Re: hpwControl Plugin - Early Preview for Feedback

Postby mishem » Sun Dec 20, 2015 12:14 am

I apologize for the translation. Do not take it literally.
mishem
 
Posts: 575
Joined: Mon Oct 08, 2012 1:51 pm

PreviousNext

Return to PlugIn Discussions

Who is online

Users browsing this forum: No registered users and 1 guest