Что нового

Обработка всех строк html текст с помощью StringRegExpReplace.

Gzzk

Новичок
Сообщения
104
Репутация
1
И снова здравствуйте.
Есть такой код:
Код:
#include <FF.au3>
#include <FFex.au3>
$file = FileOpen("test.txt", 2)
_FFStart("http://montytool.ru/tasks",True)
If Not _FFIsConnected() Then
	MsgBox(64,'Ошибка!','Не удалось подключится к FireFox.'& @CR &'Возможно у вас установлена старая версия FireFox или плагина MozRepl.')
	Exit
EndIf
$sHTML = _FFReadHTML()
$_sPattern="(?si).*?check(.*?)\).*"
$sOutput = StringRegExpReplace($sHTML,$_sPattern, '$1',0) & @CRLF
FileWrite($file, $sHTML & @CRLF& $sOutput)
MsgBox(64,"Test",$sOutput)

После отработки получается такое:
Код:
61839'
Суть:
Обрабатывает только первое вхождение,а нужно забить все полученные данные в массив или строку построчно(\n).К тому же у меня не получается убрать символ ' в конце.
Пробовал делать так:
Код:
$_sPattern="(?si).*?check(.*?)\').*"

Однако в таком случае на выходе получается пустота.
Знающие люди,прошу помощи!


Добавлено:
Сообщение автоматически объединено:

Получаемый код страницы:
Код:
  <div id="page">
   <div style="position: fixed; width: 100% !important;" id="panel_wrap">
    <div id="inner">
     <div class="overflow">
      <div class="left">
       <div style="width: 140px;" id="logo_wrap">
        <a id="l" href="/tasks" onclick="nav.go(this); return false;">
         <div id="logo"></div>
        </a>
       </div>
       <div id="menu">
        <a href="/tasks/add" onclick="nav.go(this); return false;">>2>5 7040=85</a>
        <a class="active" href="/tasks" onclick="nav.go(this); return false;">!?8A>: 7040=89</a>
        <a href="javascript://" onclick="alert('2@5<5==> =54>ABC?=>.')">0AB@>9:8</a>
        <a href="javascript://" onclick="alert('2@5<5==> =54>ABC?=>.')">><>IL</a>
       </div>
       <span id="profile_wrap">
        <div id="profile_inner">
         <div id="avatar"><img src="http://cs411018.vk.me/v411018458/3a79/u8g0qPHXrqg.jpg"></div>
         <div id="fullname">
          <div id="name">KQ18ABK9 .</div>
          <div id="my_id">id190405458</div>
         </div>
         <div id="balance">
          <a href="javascript://" onclick="alert('2@5<5==> =54>ABC?=>.')"><b>639</b> <>=5B</a>
          <div id="rate_b">
           <a href="/rate" onclick="nav.go(this); return false;"> 59B8=3: 243%</a>
          </div>
         </div>
        </div>
       </span>
      </div>
      <div id="logout">
       <a href="/logout">2K9B8</a>
      </div>
     </div>    
    </div>
   </div>
   <div id="content_wrap">
    <div id="content">
     <div class="pfx2" id="menu">
      <div class="links">
       <a class="active" href="/tasks" onclick="nav.go(this); return false;">A5 7040=8O</a>
       <a href="/tasks/my" onclick="nav.go(this); return false;">>8 7040=8O</a>
       <a href="/ref" onclick="nav.go(this); return false;">@83;0A8BL 4@C30</a>
      </div>
      <div id="news_left">
       <div id="title">>2>AB8</div>
       <div id="text">
         2B>2K?>;=5=85 7040=89!
         

         <a href="http://vk.com/wall193246200_1401" target="_blank"><b>>4@>1=55 »</b></a>
       </div>
      </div>
     </div>     
     <div class="pfx" id="right_wrap">
      <div id="right">
       <div id="tab_content">
        <a class="active" href="/tasks" onclick="nav.go(this); return false;">
         !>>1I5AB20
        </a>
        <a href="/tasks?cat=1" onclick="nav.go(this); return false;">
         "=5 =@028BAO"
        </a>
         <a href="/tasks?cat=1&amp;act=reposts" onclick="nav.go(this); return false;">
         " 0AA:070BL 4@C7LO<"
        </a>
        <a href="/tasks?cat=2" onclick="nav.go(this); return false;">
         ><<5=B0@88
        </a>
        <a href="/tasks?cat=3" onclick="nav.go(this); return false;">
         >4?8A:8
        </a>
        <a href="/tasks?cat=5" onclick="nav.go(this); return false;">
         ?@>AK
        </a>
        <a href="/tasks?cat=4" onclick="nav.go(this); return false;">
         5AL A?8A>: 
        </a>
       </div>
       <div id="tab_content_hr"></div>
       
       <div id="tasks_list">
        <div id="tasks_all_list">
        <div id="task_num_rows">0945=> 1247 7040=89</div><div id="task61839" class="task top">
          <div id="error_task61839"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check61839').click()">RATEMEIN</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           247 87 4000
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check61839" href="javascript://" onclick="task_check._group(61839);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored61839" href="javascript://" onclick="tasks._ignored(61839);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task61415" class="task active">
          <div id="error_task61415"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check61415').click()">1I89 ::0C...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           435 87 1000
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check61415" href="javascript://" onclick="task_check._group(61415);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored61415" href="javascript://" onclick="tasks._ignored(61415);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task61662" class="task">
          <div id="error_task61662"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check61662').click()">YOUARK Rock...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           292 87 330
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check61662" href="javascript://" onclick="task_check._group(61662);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored61662" href="javascript://" onclick="tasks._ignored(61662);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task61660" class="task active">
          <div id="error_task61660"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check61660').click()">Best People...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           278 87 500
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check61660" href="javascript://" onclick="task_check._group(61660);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored61660" href="javascript://" onclick="tasks._ignored(61660);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task61658" class="task">
          <div id="error_task61658"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check61658').click()">Nastya Hous...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           304 87 500
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check61658" href="javascript://" onclick="task_check._group(61658);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored61658" href="javascript://" onclick="tasks._ignored(61658);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task61657" class="task active">
          <div id="error_task61657"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check61657').click()">LIVE RECORD...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           270 87 500
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check61657" href="javascript://" onclick="task_check._group(61657);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored61657" href="javascript://" onclick="tasks._ignored(61657);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task61656" class="task">
          <div id="error_task61656"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check61656').click()">YOUARK | !;...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           266 87 500
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check61656" href="javascript://" onclick="task_check._group(61656);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored61656" href="javascript://" onclick="tasks._ignored(61656);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task39082" class="task active">
          <div id="error_task39082"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check39082').click()">%>4OG85 <5@...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           680 87 1010
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check39082" href="javascript://" onclick="task_check._group(39082);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored39082" href="javascript://" onclick="tasks._ignored(39082);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task58908" class="task">
          <div id="error_task58908"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check58908').click()">"0=O ;C<>2...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           895 87 1350
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check58908" href="javascript://" onclick="task_check._group(58908);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored58908" href="javascript://" onclick="tasks._ignored(58908);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task61333" class="task active">
          <div id="error_task61333"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check61333').click()">Ultra Ever ...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           478 87 600
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check61333" href="javascript://" onclick="task_check._group(61333);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored61333" href="javascript://" onclick="tasks._ignored(61333);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task53284" class="task">
          <div id="error_task53284"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check53284').click()">'5E;K 4;O I...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           1168 87 2000
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check53284" href="javascript://" onclick="task_check._group(53284);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored53284" href="javascript://" onclick="tasks._ignored(53284);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task32015" class="task active">
          <div id="error_task32015"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check32015').click()">!0<> ?80@</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           666 87 750
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check32015" href="javascript://" onclick="task_check._group(32015);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored32015" href="javascript://" onclick="tasks._ignored(32015);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task51896" class="task">
          <div id="error_task51896"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check51896').click()">!0<K5 2:CA=...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           148 87 1000
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check51896" href="javascript://" onclick="task_check._group(51896);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored51896" href="javascript://" onclick="tasks._ignored(51896);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task39214" class="task active">
          <div id="error_task39214"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check39214').click()">A25689 0=5:...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           101 87 150
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check39214" href="javascript://" onclick="task_check._group(39214);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored39214" href="javascript://" onclick="tasks._ignored(39214);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task27601" class="task">
          <div id="error_task27601"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check27601').click()">09:8</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           290 87 670
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check27601" href="javascript://" onclick="task_check._group(27601);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored27601" href="javascript://" onclick="tasks._ignored(27601);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task38465" class="task active">
          <div id="error_task38465"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check38465').click()">2 000 000 ...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           793 87 1100
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check38465" href="javascript://" onclick="task_check._group(38465);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored38465" href="javascript://" onclick="tasks._ignored(38465);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task61985" class="task">
          <div id="error_task61985"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check61985').click()">!?>@B | >B...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           95 87 250
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check61985" href="javascript://" onclick="task_check._group(61985);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored61985" href="javascript://" onclick="tasks._ignored(61985);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task55777" class="task active">
          <div id="error_task55777"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check55777').click()"> >:-LIVE</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           278 87 445
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check55777" href="javascript://" onclick="task_check._group(55777);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored55777" href="javascript://" onclick="tasks._ignored(55777);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task35075" class="task">
          <div id="error_task35075"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check35075').click()">>4 51>< ...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           869 87 1000
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check35075" href="javascript://" onclick="task_check._group(35075);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored35075" href="javascript://" onclick="tasks._ignored(35075);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task40325" class="task active">
          <div id="error_task40325"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check40325').click()">‚ ѓ „ †  |...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           836 87 1533
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check40325" href="javascript://" onclick="task_check._group(40325);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored40325" href="javascript://" onclick="tasks._ignored(40325);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task53330" class="task">
          <div id="error_task53330"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check53330').click()">Beauty &amp;...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           174 87 200
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check53330" href="javascript://" onclick="task_check._group(53330);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored53330" href="javascript://" onclick="tasks._ignored(53330);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task46571" class="task active">
          <div id="error_task46571"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check46571').click()">ј!>2<5AB8<>...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           218 87 1000
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check46571" href="javascript://" onclick="task_check._group(46571);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored46571" href="javascript://" onclick="tasks._ignored(46571);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task14865" class="task">
          <div id="error_task14865"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check14865').click()">@This is O....</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           699 87 700
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check14865" href="javascript://" onclick="task_check._group(14865);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored14865" href="javascript://" onclick="tasks._ignored(14865);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task32548" class="task active">
          <div id="error_task32548"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check32548').click()">iHumor</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           824 87 982
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check32548" href="javascript://" onclick="task_check._group(32548);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored32548" href="javascript://" onclick="tasks._ignored(32548);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task20867" class="task">
          <div id="error_task20867"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check20867').click()">><?LNB5@K ...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           519 87 555
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check20867" href="javascript://" onclick="task_check._group(20867);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored20867" href="javascript://" onclick="tasks._ignored(20867);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task57662" class="task active">
          <div id="error_task57662"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check57662').click()">&&</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           828 87 1500
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check57662" href="javascript://" onclick="task_check._group(57662);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored57662" href="javascript://" onclick="tasks._ignored(57662);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task50704" class="task">
          <div id="error_task50704"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check50704').click()">$0=B0AB8:0</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           875 87 1500
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check50704" href="javascript://" onclick="task_check._group(50704);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored50704" href="javascript://" onclick="tasks._ignored(50704);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task55471" class="task active">
          <div id="error_task55471"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check55471').click()">#<0=L | Uma...</a>
           

           <div class="_support">
           06<8B5 <a href="#">AN40</a>, 5A;8 E>B8B5 ?>60;>20BLAO.
           </div>
          </div>
          <div class="_count">
           863 87 2643
          </div>
          <div class="_price">
           +3 <>=5BK
          </div>
          <div class="_run">
           <a id="check55471" href="javascript://" onclick="task_check._group(55471);"><b>K?>;=8BL 7040=85</b></a>
           <a id="ignored55471" href="javascript://" onclick="tasks._ignored(55471);"><b>5 ?>:07K20BL</b></a>           
          </div>
         </div>
         <div id="task55804" class="task">
          <div id="error_task55804"></div>
          <div class="_icon">
           <div class="icon group"></div>
          </div>
          <div class="_title">
           ABC?8BL 2 3@C??C <a href="javascript://" onclick="$('#check55804'
 

WSWR

AutoIT Гуру
Сообщения
941
Репутация
363
Gzzk

Код:
#include <Array.au3>

$sHTML = FileRead('1.txt')
$_sPattern=".*?check(.*?)'\).*"
$aOutput = StringRegExp($sHTML, $_sPattern, 3)
_ArrayDisplay($aOutput)
ConsoleWrite(_ArrayToString($aOutput, @CRLF))
 

inververs

AutoIT Гуру
Сообщения
2,135
Репутация
465
Код:
#include <array.au3>
$aData = StringRegExp($sHTML,'(?<=check)\d+',3)
$sOut = _ArrayToString($aData,@CRLF)
FileWrite('out.txt', $sOut)
:smile:
WSWR
с тобой одинаково мыслим)
 
Верх