how to do selection in rectangular shape

how to select text in rectangular shape or square shape