\(\left|2x+1\right|=\left|x-1\right|\)
\(\Rightarrow\left[{}\begin{matrix}2x+1=x-1\\2x+1=-x+1\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}2x-x=-1-1\\2x+x=-1+1\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}x=-2\\3x=0\Rightarrow x=0\end{matrix}\right.\).