AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Как заменить любое количество одинаковых символов на один?

 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (Russian)
View previous topic :: View next topic  
Author Message
4elentano



Joined: 11 Mar 2011
Posts: 3

PostPosted: Fri Mar 11, 2011 8:26 pm    Post subject: Как заменить любое количество одинаковых символов на один? Reply with quote

Собственно в названии темы мой вопрос. Помогите пожалуйста.
Back to top
View user's profile Send private message
FeyFre



Joined: 07 Aug 2007
Posts: 2007
Location: Vinnitsa, Ukraine

PostPosted: Fri Mar 11, 2011 9:41 pm    Post subject: Reply with quote

4elentano
Плагин Scripts
Скрипт SearchReplace.js
What: (.)\1+
With: $1
Птички:
Case Sensitivity
Multiline
Direction: Beginning
Кнопку Replace all
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
4elentano



Joined: 11 Mar 2011
Posts: 3

PostPosted: Fri Mar 11, 2011 10:22 pm    Post subject: Reply with quote

Блин, облазил весь форум. Как этот плагин подключить?
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1263
Location: Poland

PostPosted: Fri Mar 11, 2011 10:55 pm    Post subject: Reply with quote

4elentano
Shortcut key Alt+P and select "Scripts::Main" and then SearchReplace.js.
Back to top
View user's profile Send private message
FeyFre



Joined: 07 Aug 2007
Posts: 2007
Location: Vinnitsa, Ukraine

PostPosted: Fri Mar 11, 2011 11:06 pm    Post subject: Reply with quote

4elentano
Меню Options - Plug-ins
В списке выбираем Scripts::Main и нажимаем Call
В появившемся окне выбираем в списке нужный скрипт и нажимаем Exec
Ну а дальше я уже писал.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
4elentano



Joined: 11 Mar 2011
Posts: 3

PostPosted: Fri Mar 11, 2011 11:37 pm    Post subject: Reply with quote

FeyFre wrote:
4elentano
Меню Options - Plug-ins
В списке выбираем Scripts:


У меня там список пустой.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1263
Location: Poland

PostPosted: Fri Mar 11, 2011 11:46 pm    Post subject: Reply with quote

4elentano
Install full version of AkelPad - Installer (multi-lingual):
http://akelpad.sourceforge.net/en/download.php
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1263
Location: Poland

PostPosted: Sat Mar 12, 2011 3:54 pm    Post subject: Reply with quote

4elentano
Now you can use the script ReplaceReplicateCharsWithOne.js.
It will be a little easier than SearchReplace.js.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (Russian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group