Optimize imports.
Replace regex by splitter.
Replace regex by indexOf.