Replace RegExp with String method
Export simply