VS Code Find Replace If you do vscode find in regex mode .* it replace lets you do cool things. I like to use the vs commands (click cmd + shift + p) Sort Lines Ascending and Delete Duplicate Lines to help. Pull invoice ID out of a message out of a message Find: .*"invoiceId":(".*").* Replace: $1