fork download
  1. import re
  2. rx = r"\bn(?=[A-Z0-9])"
  3. text = "nFamily n49 new nTom"
  4. print( re.sub(rx, '', text) )
Success #stdin #stdout 0.02s 9620KB
stdin
Standard input is empty
stdout
Family 49 new Tom