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;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.