Clean, modular text parser