Regex are not slow, but aren't really easy to read nor elegant..