Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str1964 FieldLabel `"<div style="background:tomato; padding:5px; margin:5px;"><font color="black"> <font size="5">Verify alpha codes are equal, values are not the same </font></strong></div>"' `"<div style="background:lightgrey; padding:5px; margin:5px;"><font color="black"><font size="5">Please answer the following questions. </font>"' end
using:
Code:
g newtext = ustrregexra(FieldLabel,"<.*>","!!split!!")
Code:
!!split!!!!split!!!!split!!Please verify PID codes are equal, values are not the same !!split!!!!split!!!!split!!
Code:
!!split!!
Thank you!
-Reese
v.14.2
0 Response to parsing with variant length strings; overcoming ustrregexra greediness
Post a Comment