Use regexp.
Refactoring.
Refactoring.
Refactoring.