Skip to content

Instantly share code, notes, and snippets.

@QZLin
Created February 26, 2023 10:16
Show Gist options
  • Save QZLin/9e4bb706b3c442ea781ea750d4703dba to your computer and use it in GitHub Desktop.
Save QZLin/9e4bb706b3c442ea781ea750d4703dba to your computer and use it in GitHub Desktop.

Regex

replace (WeaponUpgrades.json ... etc) ("itemDataAsset":\s*"DA_ItemBase'/.*/Rare_Resources/.*'",\s*\n\s+"amount":\s*)\d+ to $10 (its '$1'+'0')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment