In IC61, you can do:
; only need to compile the pattern once
; then any time you need to do the replace, can reference the pattern object in var hyphen
newCell=pcreReplace(hyphen cellName "_" 0)
In IC61 and IC5141 you can use the less powerful rex functions (but the compiled pattern will get overwritten if it is used elsewhere since it only has a single compiled pattern at once):
newCell=rexReplace(cellName "_" 0)
The pcre functions have a much richer pattern matching syntax - see the PCRE web site for more details.