fork download
  1. -- your code goes here
  2. x = "W-9007-mnist_1.0.0.ms"
  3. x = x:gsub("(.*)[%p]", "%1_")
  4. print(x)
Success #stdin #stdout 0.01s 5432KB
stdin
Standard input is empty
stdout
W-9007-mnist_1.0.0_ms