Hello.
In my previous example we replaced content up to first comma. I did nothing else
than copy this expression to cover content up to 5th comma

In regular expressions you can use original (find) string in replace -
substitution. String you want to use must be enclosed by brackets. 
(.*?\,.*?\,.*?\,.*?\,.*?\,)
This is the first part, followed by content of 6th column
(.*?)\, 
Whan you replace, you use $n, where n means order number of search part. What I
did is return whole first part as $1 without changes in replace, enclose content
of the 6th column with "" and add comma:
$1"$2",

-----------------------------------------------------------
You can exchange parts in replace. E.g. you have german date format
(dd.mm.yyyy):
12.3.2014
you can change it to US format (yyyy/mm/dd):

search: (\d+)\.(\d+)\.(\d+)
replace: $3/$2/$1

-- 
<http://forum.pspad.com/read.php?2,63956,63987>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem