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.
July 16, 2015 at 1:23 pm
^.*]+)>\s*$
October 13, 2016 at 10:25 am
^.*\[=([^ =\]]*).*$
for finding between [= and =]
May 24, 2017 at 6:37 am
^.*> (.*) {(.*)$ find between > and {
June 30, 2017 at 5:33 am
Apple:123456789:pear
watermelon:57952161354:kfc
find:.*?: replace with :
June 30, 2017 at 5:39 am
(some text [=remove space here=])end text
find:(space)+(?=[^\[=]*?=\])
November 25, 2019 at 6:23 am
Find = (?-s)^(.*?:.*?)(?=\h\|).*