split string to only include legislation text