text editor??

Status
Not open for further replies.

NagpurDaMunda

In the zone
is there any text editor or any other software which can automatically insert " | " this chracter in the blanks space of 2 lines of a database ... if yes pls tell me.. i need it for project work..
 

casanova

The Frozen Nova
give me a sample line (as u are having just now) and the modified line (that you want to have)
 

planetcall

Indian by heart
lol do a pattern (regex) Find&Replace method of the editors available. Most of them support it. EmEditor , PSPad, UltraEdit etc to name a few.

Search for /n/n and replace with /n|/n
 
OP
N

NagpurDaMunda

In the zone
original text --->
dwarf v. overshadow, dominate, diminish, minimize: The new tower
dwarfs the older buildings.
dwell v. 1 reside, abide, live, lodge, stay, remain, rest, Formal
domicile: After the father's death, the mother dwelt with her
daughter. 2 dwell on or upon. harp on, persist in, emphasize,
stress, focus on, linger or tarry over, elaborate (on); labour:
Why must you always dwell on a person's shortcomings?
dwelling n. abode, habitation, dwelling-place, house, domicile, lodging,
quarters, home, residence, homestead: His dwelling is a shanty
in old shanty town.

Required text --->

dwarf v. overshadow, dominate, diminish, minimize: The new tower|dwarfs the older buildings.|dwell v. 1 reside, abide, live, lodge, stay, remain, rest, Formal|domicile: After the father's death, the mother dwelt with her
daughter. 2 dwell on or upon. harp on, persist in, emphasize,
stress, focus on, linger or tarry over, elaborate (on); labour:
Why must you always dwell on a person's shortcomings?|dwelling n. abode, habitation, dwelling-place, house, domicile, lodging,
quarters, home, residence, homestead: His dwelling is a shanty
in old shanty town.
 

planetcall

Indian by heart
Find : \n
Replace: |

is that so hard ? It will replace all the newlines with a pipe. I used EmEditor for testing it up. Remember to enable the RegEx search in the search&Replace dialog.
 
Status
Not open for further replies.
Top Bottom