replaceText --> Regex question

Glen Bojsza gbojsza at gmail.com
Sat Jul 24 13:39:30 EDT 2010


This should be easy for the Regex experts ... or maybe I can do it another
way?

I have to change the beginning of a string.

The original string is ALWAYS proceeded by _parm

For example

NetlistOf6Port_parm01.zip

I need to change NetlistOf6Port_parm to Study4 and should result in the
string now being

Study401.zip

I have thousands of beginnings that need changing so I am trying

put replaceText (field "Gates", * & "_parm", "Study4") into field
"StudyGroup"

The * & is what I need help with... what is a method for doing a wildcard so
anything before and _parm is changed?

thanks,



More information about the use-livecode mailing list