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.

  1. open find/replace (search menu > replace)
  2. in "find what" field, type following: (^.+$)\n(^.+$)
  3. in "replace with" field, type following: \1\n\n\2
  4. tick "regular expression" checkbox
  5. click replace button @ least twice, perhaps 3 times, until message cannot find regular expression
  6. untick "regular expression" checkbox
  7. close replace dialog
  8. confirm file formatted expecting
  9. save file.

Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -