There are two ways that I see to do this..
first way:
Pull each string in with a loop and give each string its own variable name
or just an index like $variable[0] ect..
run each variable through 'strchr(string,search)' function if it comes back true then it contains your 'section' string..
code from there.
the second way is to use in_array function tied up with regular expression designed to look for 'section' most likely the regualar expression would like something like this:
preg_match(^[0-9][a-z][A-Z]section[0-9][a-z][A-Z]$);
depending on what charcters you'll be using you'll need to adjust it.. i'm not the master of regexes either so I hope that is correct.
hope that helps,
eff