New User Usage Question

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 1
Joined: Tue Oct 24, 2017 9:10 am

New User Usage Question

Post by davestephans »

PostPosted: Thu Aug 21, 2008 5:47 pm Post subject: New User Usage Question Reply with quote
Is it possible to do the following in AkelPad, even if I make it portable so it works from my flash drive?

Step 1. Replace using Regular Expression Search

i.e. Replace "[^"]" -> "" (delete all characters except quote marks)

Step 2. Replace all pairs of quotes ("") with nothing. (I already know this works.)

Step 3. Search and bookmark all lines having a quote mark (")

Step 4. Undo the changes made in steps 1 and 2 while leaving the bookmarks place so I can check those lines.

Any help appreciated. I badly need a portable editor for doing this sort of work. Thanks in advance for any help or advice.

Offline
Posts: 874
Joined: Sat Jan 16, 2010 2:03 pm

Re: New User Usage Question

Post by opk44 »

davestephans wrote:i.e. Replace "[^"]" -> "" (delete all characters except quote marks)
After the Step 1 you get only one string with some quote marks.
After the Step 2 you get only one string with only one quote mark or even empty string.
Even if you meant something like this

Code: Select all

[^"\n]
, I don't see any sense to first remove the text and then try to paste it back.
Post Reply