Hello I am trying to create a variable that records if my variable explanation2013_2012 which creates an output of a string if a region has experienced any change. I am trying to use regexm to record if the words Split , Separated , Divide appear in that output , but when I use this code , it only picks up Split so basically my question is how to format it so it picks up on Split , Separated , or Divide appears in the output it creates. Thank you . My code is below , I need to list the constitent variable as well.

gen constitent = regexm(explanation2013_2012, "Split" "Separated" "Divide" )


. list if constitent == 1