Improving text extraction Finding the best method after a specific character