Skip to content

Instantly share code, notes, and snippets.

@uilian
Created July 14, 2020 21:40
Show Gist options
  • Save uilian/c508806902cfaaf6e3d8e029eb9ae87b to your computer and use it in GitHub Desktop.
Save uilian/c508806902cfaaf6e3d8e029eb9ae87b to your computer and use it in GitHub Desktop.
Remove money formating
sed -r 's/\"(R\$\s*)([0-9]{0,})\.?([0-9]{0,})\.?([0-9]{1,})\.?([0-9]{0,3})\"/\2\3\4\5/g' input.json > output.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment