<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Как заменить двойными кавычками символы, используя RegExReplace?]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9276&amp;type=atom" />
	<updated>2014-02-18T13:22:48Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9276</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как заменить двойными кавычками символы, используя RegExReplace?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80163#p80163" />
			<content type="html"><![CDATA[<p>но это не оптимальный код, на каждую кавычку по строке = 4 строки замены.</p>]]></content>
			<author>
				<name><![CDATA[sh-aleksandr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31626</uri>
			</author>
			<updated>2014-02-18T13:22:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80163#p80163</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как заменить двойными кавычками символы, используя RegExReplace?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80162#p80162" />
			<content type="html"><![CDATA[<p>чуть поправлю код, так получается<br /></p><div class="codebox"><pre><code>

gdeIshim = текст1, “текст2”, «текст3»
StringReplace, NewStr1, gdeIshim, «, &quot;, All
msgbox %NewStr1%

</code></pre></div>]]></content>
			<author>
				<name><![CDATA[sh-aleksandr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31626</uri>
			</author>
			<updated>2014-02-18T13:20:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80162#p80162</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Как заменить двойными кавычками символы, используя RegExReplace?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80161#p80161" />
			<content type="html"><![CDATA[<p>Добрый день Всем.</p><p>Как заменить определенные символы <strong>“” «»</strong> двойными кавычками <strong>&quot;</strong> , используя команду RegExReplace?</p><p>Это работает, но заменяет на + и », а не &quot;.<br /></p><div class="codebox"><pre><code>

; текст1, “текст2”, «текст3» - из этого
; текст1, &quot;текст2&quot;, &quot;текст3&quot;- получить это
;(\x93|\x94|\xab|\xbb)-кодировка ASCII кавычек “” «»
NewStr1 := RegExReplace(&quot;текст1, “текст2”, «текст3»&quot;, &quot;(\x93|\x94|\xab|\xbb)&quot;, &quot;+&quot;, ReplacementCount)
NewStr2 := RegExReplace(&quot;текст1, “текст2”, «текст3»&quot;, &quot;(\x93|\x94|\xab|\xbb)&quot;, &quot;»&quot;, ReplacementCount)

msgbox %NewStr1% `n%NewStr2%

</code></pre></div><p>Эта строка не работает из-за &quot;&quot;&quot;</p><p>NewStr2 := RegExReplace(&quot;текст1, “текст2”, «текст3»&quot;, &quot;(\x93|\x94|\xab|\xbb)&quot;, &quot;&quot;&quot;, ReplacementCount)</p><br /><p>Командой </p><div class="codebox"><pre><code>
StringReplace, NewStr1, gdeIshim, «, &quot;, All
</code></pre></div><p>получается, но хотелось бы знать возможно ли <strong>RegExReplace</strong> - этим в одну строку забабахать тоже.</p><p> Заранее спасибо.</p>]]></content>
			<author>
				<name><![CDATA[sh-aleksandr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31626</uri>
			</author>
			<updated>2014-02-18T13:15:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80161#p80161</id>
		</entry>
</feed>
