this is my postgres connection for an Nodejs application. Can you show me how to replace "password": "******" using sed command? My current sed filter is working but that's wrong. Pls
POSTGRES_DB={"username":"postgres","password":"admin*****","database":"*****","host":"10.125.208.15","port":"5432","dialect":"postgres"}
That is my filter
's/"password":"..........."*/"password":"12345"/g'
That is output:
POSTGRES_DB={"username":"postgres","password":"12345","database":"****","host":"10.125.208.15","port":"5432","dialect":"postgres"}