Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我读了一个文件并得到了一条记录为“台北”,然后我想将它格式化为下面的 mongoDB:
{"asia": {"city":"Taipei"} }
我尝试使用“。” ,但它不起作用
format /^(?<asia.city>[^ ]*)/
什么是正确的正则表达式,或者我应该尝试另一个插件?