I have the following string in the events and I would like to mask the password text using sedcmd.
Content={"Login":"stuff@stuff.com","Password":"thingsandstuff"}
Does anyone have any thoughts how to build the regex to do this?
Thank you
Try this
s/("Password":")([^"]+)"/\1XXX"/
Try this
s/("Password":")([^"]+)"/\1XXX"/
works beautifully, thank you!