As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Tips Talk:Reg Exp Substitution in Proc Format

From sasCommunity
Jump to: navigation, search

An Answer

   invalue $dance 's/dance/party/' (regexpe) = [$party.];
   invalue $party 's/party/time/' (regexpe) = [$time.];
   invalue $time 's/time/travel/' (regexpe) = [$travel.];

-- chang_y_chung 11:48, 2 April 2013 (EDT)

Should SAS version 9.4 be mentioned? — Charlie Shipp (talk) 20:27, 14 April 2014 (CDT)

done -- Added: "PROC FORMAT in SAS Version 9.3 and later" Charlie Shipp (talk) 00:04, 3 December 2014 (CST)

That regular expressions can be used in a format is worthy of a tip. This is a different slant. good tip --Art Carpenter (talk) 01:38, 19 April 2014 (CDT)

Needs a read more to a page that provides more detail and a sample use case of solving a real problem. This could be a good tip, but it is too abstract right now. --Don Henderson (talk) 20:56, 22 April 2014 (CDT)

Good Tip --Art T 20:19, 25 November 2014 (CST)

Mine would be the 4th review (to say this is a good TIP). I like the novel approach to encourage interaction of the reader. -- Charlie Shipp (talk) 00:04, 3 December 2014 (CST)