<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Регулярное выражение]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=17227&amp;type=atom" />
	<updated>2022-07-04T20:18:22Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17227</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Регулярное выражение]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=153787#p153787" />
			<content type="html"><![CDATA[<p>Сократить можно. <br /></p><div class="codebox"><pre><code>
stroka := &quot;fdfhsdkfhk43dgffdg8dghjkh34fsfdsf0dfsdf8dfs672&quot;
var := RegExReplace(stroka,&quot;\D&quot;)
MsgBox % var 
</code></pre></div><p>Но почему через надо RegExMatch?</p>]]></content>
			<author>
				<name><![CDATA[fkhlamingo]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42005</uri>
			</author>
			<updated>2022-07-04T20:18:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=153787#p153787</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Регулярное выражение]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=153785#p153785" />
			<content type="html"><![CDATA[<p>Добрый день. Подскажите есть ли способ вытащить все цифры из строки?<br />Текст рандомны, числа могут быть в разных местах.<br />Не могу составить регулярку.</p><p>Делаю через замену:</p><div class="codebox"><pre><code>
stroka := &quot;fdfhsdkfhk43dgffdg8dghjkh34fsfdsf0dfsdf8dfs672&quot;
var := RegExReplace(stroka,&quot;\D*(\d+)\D*&quot;,&quot;$1&quot;)
MsgBox % var</code></pre></div><p>Но хотелось бы через RegExMatch. Есть предложения?</p>]]></content>
			<author>
				<name><![CDATA[andrey.a.polyakov.b2c]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42228</uri>
			</author>
			<updated>2022-07-04T20:10:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=153785#p153785</id>
		</entry>
</feed>
