filename seercode URL "http://www.bestsampleresume.com/resume-templates/sample-accounting-resume-template-1.html" debug lrecl=32767;
data html1(drop= v v1 rx1);
infile seercode truncover;
input @1 v $32767.;
format v1 v2 $32767.;
v1=htmldecode(v);
if substr(v1,1,3)='<p>' or substr(v1,1,3)='<B>' or
substr(v1,1,4)='<br>' or substr(v1,1,4)='</B>' or substr(v1,1,4)='<LI>' or substr(v1,1,8)='<CENTER>';
v2=v1;
rx1=prxparse("s/<(.|\n)*?>//");
call prxchange(rx1,-1,v2);/* Performs a pattern-matching replacement and -1 indicates replace all the pattern available */
if v2=' ' then delete;
run;
data html2;
length x $32767;
set html1;
x=tranwrd(v2,'Professional',cat('<a target=',"'_blank'",' href="http://en.wikipedia.org/wiki/Professional">Professional'));
run;
ods html body='C:\Documents and Settings\sasadm\Desktop\resume.html' style=minimal;
data _null_;
set html2;
file print;
put x;
run;
ods html close;
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.