Left click on the red circle that appears to the top-left of the line or text box, it will change from red to blue when selected, and use the 'Delete'* key on your keyboard, or press the red x next to the circle.
*If you're using a Mac computer or laptop, you will need to use the Function + Delete keys.