How can I replace the number inside the brackets for any strings not matching the word "Field". So the number inside 'SomethingElse' and 'SomethingMore' could be replaced to a new value, but any bracketed value to the right side of the term 'Field' would not be touched. Note, the word "Field" will always stay the same, so it can be referenced as a magic string in the regex.
Field[50].SomethingElse[30]
Field[50].SomethingMore[30]
Thanks. PS. Using JavaScript.