Changing requestor based on Subject line

All, I want to be able to check the subject line on ticket creation and
change the requestor if it matches a particular string. Quite possibly this
could be done with a script condition or would have to be added directly
into some perl file? Any ideas on how to do this?

Regards,
Warren Macey