Hi,
you can enclose the parts of the text, which should be manipulated for
replacement with parens and resore these mached groups in the replacement
pattern with numbered parts: $1
cf. the simplified example:

input text:
ABCD1234EFGH/XXX/IJKLMN/file.abc

search (re):
^(.*?)/XXX/(.*?)/(file\.)(abc)$

replace with
$1/$2/$3txt

resulting text after replacement:
ABCD1234EFGH/IJKLMN/file.txt

I guess it should be possible to adapt this patterns to match your specific
data.

hth,
   vbr

-- 
<https://forum.pspad.com/read.php?2,71365,71368>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem