Fix regex in TextList

The old regex added sometimes to text null to the strings.