I am looking to transcribe a javascript replace to java.
what I have is this:
value.replace(**MYREGEX**, function(i) { return "&am