Menu
I’ve got a textarea form post which I’m processing.
In this post will be an article which will likely have multiple names in it. First Name – Last Name, Last Name First Name mixture.
I want to do a preg_match (I believe) on all my students to find all matches.
My students is and object list with firstname and lastname seperated in two properties.
Would I need to do two preg_matches for all students in my list against the entire document?
Any better ways of doing this?