inserting line breaks after every record in the textpad -
i have textpad file has rows of text. e.g.
cat: meaning - animal. cat ran house
rat: meaning- rodent. rat lives in borough , feeds on leftovers
word 3: description
word 4: description
i have many such record in file. want insert line break @ end of every record proper presentation. doing manually tedious. please if know automated process insert line break.
thanks mohit
you can using feature called "regular expressions" find , add empty lines.
- open find/replace (search menu > replace)
- in "find what" field, type following:
(^.+$)\n(^.+$)
- in "replace with" field, type following:
\1\n\n\2
- tick "regular expression" checkbox
- click replace button @ least twice, perhaps 3 times, until message
cannot find regular expression
- untick "regular expression" checkbox
- close replace dialog
- confirm file formatted expecting
- save file.
Comments
Post a Comment