I use the below structure for it:
\documentclass[12pt]{article}
\begin{document}
\begin{minipage}[t]{.9\textwidth}
\leavevmode\rlap
{I want to stop the hrule, at the end of my text.}
\rule{\textwidth}{0.0001pt}
\leavevmode\rlap
{And also I want to stop the hrule, at the end of my text too.}
\rule{\textwidth}{0.0001pt}
\leavevmode\rlap
{And also for here.}
\rule{\textwidth}{0.0001pt}
\end{minipage}
\end{document}
But I want to be exactly equal my hrule width and text width together.

