Create two additional variables that mimic the original data, for use in SGPLOT REG statements.
data have;
input crash_count time;
if time < 49 then y1 = crash_count; * y1 missing when time >=49;
if time >= 49 then y2 = crash_count; * y2 missing when time < 49;
datalines;
30 1
26 2
39 3
44 4
35 5
etc...
proc sgplot data=have;
series x=time y=crash_count / markers markerattrs=(symbol=circlefilled) ;
reg x=time y=y1 / nomarkers lineattrs=(pattern=dot color=black) legendlabel='Trendline Pre-49';
reg x=time y=y2 / nomarkers lineattrs=(pattern=dash color=black) legendlabel='Trendline Post-49';
keylegend / across=1 location=inside;
run;

Note: The REG statement has no option for extending a fit line (such as the pre-49 dotted line) from left edge to right edge.