<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: RegExMatch() шаблоны]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9474&amp;type=atom" />
	<updated>2014-04-15T21:06:44Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9474</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: RegExMatch() шаблоны]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81825#p81825" />
			<content type="html"><![CDATA[<p>Большое спасибо за шаблон!</p><p>Я сделал такой вариант:</p><div class="codebox"><pre><code>RegExMatch(txt, &quot;&quot;&quot;.*&quot;&quot;&quot;, txt)
StringReplace, Name, txt, &quot;,, All</code></pre></div><p>Тоже заработало, но опять длиннее получилось ...</p><p>Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[Dr.Jekyll]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30028</uri>
			</author>
			<updated>2014-04-15T21:06:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81825#p81825</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: RegExMatch() шаблоны]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81687#p81687" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>txt =
(
1    &quot;Кузя+&quot;
2    &quot;Нафаня 61&quot;
15    &quot;Балбес &amp; остальные&quot;
)

MsgBox, % RegExReplace(txt, &quot;m`a).*?&quot;&quot;(.*)?&quot;&quot;.*&quot;, &quot;$1&quot;)
</code></pre></div><p>&quot;Двойные апострофы&quot; называются обычно кавычками.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-04-12T13:36:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81687#p81687</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: RegExMatch() шаблоны]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81654#p81654" />
			<content type="html"><![CDATA[<p>Добрый день, господа! Помогите пожалуйста сделать шаблон.</p><p>Имеются строки типа:<br /></p><div class="codebox"><pre><code>1    &quot;Кузя+&quot;
2    &quot;Нафаня 61&quot;
.......
15    &quot;Балбес &amp; остальные&quot;</code></pre></div><p>Нужно вытащить все слова, цифры и знаки между двойными апострофами.</p><p>Пробовал использовать StringTrimLeft по такой схеме:<br /></p><div class="codebox"><pre><code>StringTrimLeft, txt, txt, 2
StringReplace, txt, txt, %A_Space%,, All
StringReplace, Name, txt, &quot;,, All</code></pre></div><p>Все работает, но получается слишком громоздко и не совсем надежно в плане первых цифр.<br />Сделать такой шаблон - что-то торможу ..........&nbsp; <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p><p>Помогите пожалуйста!</p>]]></content>
			<author>
				<name><![CDATA[Dr.Jekyll]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30028</uri>
			</author>
			<updated>2014-04-11T13:59:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81654#p81654</id>
		</entry>
</feed>
