by doing so, I lost those that does not have a space or an empty line.
No problem, right, because as my signature says, implement changes in copies? Then again, it would seem you ran my modifying expression (meant for an RTF field as twice noted) against your data rather than answer questions first. If that's what happened I'm sorry for you and hope it was on a table copy. If not, the lesson here may be to read everything that's posted for you and exercise some restraint, but most of all, answer questions that are posed for (usually) a good reason
Maybe my lesson is to not offer solutions if I don't get my questions answered.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.