Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %s/[^a-zA-Z ]*//g
- %s/\(\w\+\)/"\1"/g
- %s/[[:space:]]\+/,/g
- Given:
- Croatia 克罗地亚 Lithuania 立陶宛 Slovenia 斯洛文尼亚
- Cyprus 塞浦路斯 Luxembourg 卢森堡 Spain 塞班牙
- Output:
- "Croatia","Lithuania","Slovenia",
- "Cyprus","Luxembourg","Spain",
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement