我有一个包含大约 10000 行文本的文本文件。该文本文件为 JSON 格式。我想剪切(并保存在剪贴板中)“:”冒号符号后的数据。
{
"Cust_Data": {
"First Name": "John",
"Last Name": "Doe",
"Email Address": "[email protected]",
"City": "New York City",
"State": "New York"
}.
"Cust_Account": {
"Account Number": "57235286096572",
"Branch Code": "US0163GR",
"Routing Number": "CHAUSA56325",
"Bank Name": "Bank of America",
"SWIFT Code": "SW356FGH6534567",
"Date of Remittance": "04-30-2005"
}.
.....
.....
.....
这就是我想要的结果:
{
"Cust_Data": {
"First Name":
"Last Name":
"Email Address":
"City":
"State":
}.
"Cust_Account": {
"Account Number":
"Branch Code":
"Routing Number":
"Bank Name":
"SWIFT Code":
"Date of Remittance":
}.
........
........
........
剪贴板应包含从文本文件中删除的数据。
请向我提出一个使用 Regex 或任何其他选项在 Notepad ++ 中实现此目的的想法。