Cybercrux

Everything is achievable through technology

Notepad ++ Helper

Replace string

(.*?)


Replace between double caught

^.*Name=”([^”]*)”.*$

replace with

[\1]


add between string

^(.+)$ , ^([A-Za-z0-9]+)$

replace with

[\1]


Assuming alphanumeric words, you can use:

Search = ^([A-Za-z0-9]+)$
Replace = able:”\1″
Or, if you just want to highlight the lines and use “Replace All” & “In Selection” (with the same replace):

Search = ^(.+)$
^ points to the start of the line.
$ points to the end of the line.

\1 will be the source match within the parentheses.

Advertisements

5 thoughts on “Notepad ++ Helper

  1. ^.*\[=([^ =\]]*).*$

    for finding between [= and =]

  2. ^.*> (.*) {(.*)$ find between > and {

  3. Apple:123456789:pear
    watermelon:57952161354:kfc
    find:.*?: replace with :

  4. (some text [=remove space here=])end text
    find:(space)+(?=[^\[=]*?=\])

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s