Text this: A new approach for one-dimensional sine-Gordon equation