<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic The routine PRXCHANGE was called using a regular expression that contains no replacement text in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813746#M321188</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;function PRXCHANGE returns the error "The routine PRXCHANGE&amp;nbsp; was called using a regular expression that contains no replacement text" and I can't find the reason. What I want to do is extract the substring identified by the regular expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a test, I get the same error on this example dataset:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data table1;&lt;BR /&gt;input name &amp;amp; $32.;&lt;BR /&gt;datalines;&lt;BR /&gt;44fds&lt;BR /&gt;3.3.fdfsd&lt;BR /&gt;22.22fdfs&lt;BR /&gt;12dsd12&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data table2;&lt;BR /&gt;set table1;&lt;BR /&gt;name2 = prxchange('~^[0-9\./]+~', -1, name);&lt;BR /&gt;run; /*This gives the error*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The regular expression is correct, in fact if you run this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data table2;&lt;BR /&gt;set table1;&lt;BR /&gt;test = PRXMATCH('~^[0-9\./]+~',name);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it runs correctly and the variable test is valorized with 1, so the regex was found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Luke&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2022 10:48:25 GMT</pubDate>
    <dc:creator>Luke3</dc:creator>
    <dc:date>2022-05-17T10:48:25Z</dc:date>
    <item>
      <title>The routine PRXCHANGE was called using a regular expression that contains no replacement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813746#M321188</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;function PRXCHANGE returns the error "The routine PRXCHANGE&amp;nbsp; was called using a regular expression that contains no replacement text" and I can't find the reason. What I want to do is extract the substring identified by the regular expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a test, I get the same error on this example dataset:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data table1;&lt;BR /&gt;input name &amp;amp; $32.;&lt;BR /&gt;datalines;&lt;BR /&gt;44fds&lt;BR /&gt;3.3.fdfsd&lt;BR /&gt;22.22fdfs&lt;BR /&gt;12dsd12&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data table2;&lt;BR /&gt;set table1;&lt;BR /&gt;name2 = prxchange('~^[0-9\./]+~', -1, name);&lt;BR /&gt;run; /*This gives the error*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The regular expression is correct, in fact if you run this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data table2;&lt;BR /&gt;set table1;&lt;BR /&gt;test = PRXMATCH('~^[0-9\./]+~',name);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it runs correctly and the variable test is valorized with 1, so the regex was found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Luke&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 10:48:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813746#M321188</guid>
      <dc:creator>Luke3</dc:creator>
      <dc:date>2022-05-17T10:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: The routine PRXCHANGE was called using a regular expression that contains no replacement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813754#M321192</link>
      <description>&lt;P&gt;What are you trying to achieve?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 11:11:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813754#M321192</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-05-17T11:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: The routine PRXCHANGE was called using a regular expression that contains no replacement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813756#M321194</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm trying to extract the substring identified by the regular expression: numbers and dots starting from the beginning.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Variable name2 should contain:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;44&lt;BR /&gt;3.3.&lt;BR /&gt;22.22&lt;BR /&gt;12&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 11:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813756#M321194</guid>
      <dc:creator>Luke3</dc:creator>
      <dc:date>2022-05-17T11:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: The routine PRXCHANGE was called using a regular expression that contains no replacement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813762#M321198</link>
      <description>&lt;P&gt;Do you &lt;EM&gt;have&lt;/EM&gt; to use a regular expression? Are there other patterns that you need? `COMPRESS` can take care of this easily.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data table1;
input name &amp;amp; $32.;
datalines;
44fds
3.3.fdfsd
22.22fdfs
12dsd12
;

data table2;
	set table1;
		name2 = compress(name,,'kdp');
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="maguiremq_0-1652788181677.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71542i6D871BD042446201/image-size/medium?v=v2&amp;amp;px=400" role="button" title="maguiremq_0-1652788181677.png" alt="maguiremq_0-1652788181677.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again, this only works for your example data. Other patterns may cause issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: also noticed that you're not substituting anything in your `PRXCHANGE` call. You have to prepend your regex with a '/s' and provide a replacement, if I am remembering correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit 2:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data table2;
	set table1;
		name2 = compress(name,,'kdp');
		name3 = prxchange('s/[A-Za-z+]//', -1, name);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I'm not great with regex's and only use them when I have to.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="maguiremq_0-1652788474015.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71543i726B81D3F7DCC72B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="maguiremq_0-1652788474015.png" alt="maguiremq_0-1652788474015.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 11:54:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813762#M321198</guid>
      <dc:creator>maguiremq</dc:creator>
      <dc:date>2022-05-17T11:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: The routine PRXCHANGE was called using a regular expression that contains no replacement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813771#M321202</link>
      <description>&lt;P&gt;I need&amp;nbsp;&lt;SPAN&gt;numbers and dots starting from the beginning of the string, not&amp;nbsp;&lt;EM&gt;all&lt;/EM&gt; numbers and dots. So in line 4 it should be only 12, not 1212. Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 12:05:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813771#M321202</guid>
      <dc:creator>Luke3</dc:creator>
      <dc:date>2022-05-17T12:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: The routine PRXCHANGE was called using a regular expression that contains no replacement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813785#M321210</link>
      <description>&lt;PRE&gt;data table1;
input name &amp;amp; $32.;
datalines;
44fds
3.3.fdfsd
22.22fdfs
12dsd12
;

data table2;
	set table1;
test = prxchange('s/^([\d\.]+).*/\1/',1,name);
run;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 May 2022 12:36:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813785#M321210</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-05-17T12:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: The routine PRXCHANGE was called using a regular expression that contains no replacement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813794#M321217</link>
      <description>&lt;P&gt;It doesnt work if the string doesn't start with a number. From the example it wasn't clear, but it's not guaranteed that the string starts with a number, also it can have special characters, so I'm not sure the anyalpha-1 solution would work. In the meanwhile I found this way:&lt;BR /&gt;&lt;BR /&gt;data table2(DROP = pattern start length);&lt;BR /&gt;set table1;&lt;BR /&gt;pattern = PRXPARSE('~^[0-9\./]+~');&lt;BR /&gt;call prxsubstr(pattern, name, start,length);&lt;BR /&gt;IF length&amp;gt;0 THEN name2 = SUBSTR(name, start , length);&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 13:33:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813794#M321217</guid>
      <dc:creator>Luke3</dc:creator>
      <dc:date>2022-05-17T13:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: The routine PRXCHANGE was called using a regular expression that contains no replacement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813795#M321218</link>
      <description>&lt;P&gt;For the data posted, this works, too:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data table1;
input name &amp;amp; $32.;
datalines;
44fds
3.3.fdfsd
22.22fdfs
12dsd12
;


data want;
   set table1;
   length numb $ 10;
   numb = substr(name, 1, anyalpha(name) -1);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 May 2022 13:24:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813795#M321218</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-05-17T13:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: The routine PRXCHANGE was called using a regular expression that contains no replacement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813848#M321249</link>
      <description>&lt;P&gt;The problem seems to be that you call the PRXCHANGE routine, and although the PRX expression is syntactically correct, it is not a change expression.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The syntax of a change expression is&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&amp;lt;delimiter&amp;gt;&amp;lt;expression to look for&amp;gt;&amp;lt;delimiter&amp;gt;&amp;lt;expression to replace with&amp;gt;&amp;lt;delimiter&amp;gt;&amp;lt;options&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In your example the delimiter is "~", and the expression to look for is "&lt;SPAN&gt;^[0-9\./]+", but nothing comes after the expression to look for.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If, for instance, you wanted to replace the found expression with an "X", your PRX expression should look like this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;'~^[0-9\./]+~X~'&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What is the string you are searching for, and what do you want to replace it with?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 16:05:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813848#M321249</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2022-05-17T16:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: The routine PRXCHANGE was called using a regular expression that contains no replacement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813987#M321286</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/314787"&gt;@Luke3&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;It doesnt work if the string doesn't start with a number. From the example it wasn't clear, but it's not guaranteed that the string starts with a number, also it can have special characters, so I'm not sure the anyalpha-1 solution would work. In the meanwhile I found this way:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then, please, post data that contains all possible combinations of digits and letters that could exist and the expected result.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 05:33:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/813987#M321286</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-05-18T05:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: The routine PRXCHANGE was called using a regular expression that contains no replacement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/814023#M321308</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15475"&gt;@andreas_lds&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/314787"&gt;@Luke3&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;It doesnt work if the string doesn't start with a number. From the example it wasn't clear, but it's not guaranteed that the string starts with a number, also it can have special characters, so I'm not sure the anyalpha-1 solution would work. In the meanwhile I found this way:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then, please, post data that contains all possible combinations of digits and letters that could exist and the expected result.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;More eterogeneous data:&lt;/P&gt;
&lt;PRE&gt;-----&lt;BR /&gt;----string&lt;BR /&gt;helloworld&lt;BR /&gt;323.43astring&lt;BR /&gt;23hello(world*23.34.12)&lt;BR /&gt;1223/34anotherstring12.34&lt;BR /&gt;1234&lt;BR /&gt;12-43&lt;BR /&gt;13.34/34&lt;/PRE&gt;
&lt;P&gt;The regular expression to extract is&amp;nbsp;&lt;SPAN&gt;^[0-9\./]+ (numbers, dots and slashes at the beginning). Expected result:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;empty or skip
empty or skip
empty or skip
323.43
23
1223/34
1234
12
13.34/34&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;The solution I came up with is:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data table2(DROP = pattern start length);
set table1;
pattern = PRXPARSE('~^[0-9\./]+~');
call prxsubstr(pattern, name, start,length);
IF length&amp;gt;0 THEN name2 = SUBSTR(name, start , length);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The solution proposed by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;should work if we add a check on the first character of the string:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data table2;
set table1;
IF ISNUMBER(SUBSTR(name,1,1) THEN name2 = prxchange('s/^([\d\.]+).*/\1/',1,name);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Don't know if it's possible to do it with a single call to prxchange&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 10:23:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/814023#M321308</guid>
      <dc:creator>Luke3</dc:creator>
      <dc:date>2022-05-18T10:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: The routine PRXCHANGE was called using a regular expression that contains no replacement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/814024#M321309</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/76464"&gt;@s_lassen&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If, for instance, you wanted to replace the found expression with an "X", your PRX expression should look like this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;'~^[0-9\./]+~X~'&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What is the string you are searching for, and what do you want to replace it with?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I want to extract&amp;nbsp;&lt;CODE class=" language-sas"&gt;^[0-9\./]+&lt;/CODE&gt;&amp;nbsp;from the string, so like saying I want to replace the whole string with that.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 10:27:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/814024#M321309</guid>
      <dc:creator>Luke3</dc:creator>
      <dc:date>2022-05-18T10:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: The routine PRXCHANGE was called using a regular expression that contains no replacement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/814651#M321561</link>
      <description>&lt;P&gt;There is another&amp;nbsp; proposal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data table1;&lt;BR /&gt;input name &amp;amp; $32.;&lt;BR /&gt;datalines;&lt;BR /&gt;44fds&lt;BR /&gt;3.3.fdfsd&lt;BR /&gt;22.22fdfs&lt;BR /&gt;12dsd12&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;data table2;&lt;BR /&gt;set table1;&lt;BR /&gt;name2 = prxchange('s/((^[0-9]+\.[0-9]+)|(^[0-9]+)).*/$1/', -1, name);&lt;BR /&gt;put name2=;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 02:35:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-routine-PRXCHANGE-was-called-using-a-regular-expression-that/m-p/814651#M321561</guid>
      <dc:creator>LaneLi</dc:creator>
      <dc:date>2022-05-23T02:35:42Z</dc:date>
    </item>
  </channel>
</rss>

