American Spelling | British Spelling |
---|---|
defen(s)e |
defen(c)e |
([A-Za-z]+)ize |
([A-Za-z]+)ise |
[A-Za-z]+
is a regular expression meaning "one or more letters"
We do not have to use regular expressions in order to define our replacement rules, but that is standard practice for many professionals who know how to write code for computer applications.
Feel free to use the notation of your choice in an answer to this question.