Need some help with extracting 2 pieces of information from the following string:
viewed MUI slideshow (00:01:45)
Need the MUI and the time, without the (). viewed and slideshow will always be present. The capital lettered word can be anywhere from 2 to 6 letters in length. The time is always in the same format.
The extracted time will be totaled up and averaged for each of the capitalized words.
Any help appreciated. I have never understood RegEX and would love to find a basic starting tutorial if you can point the way.
The following sniplet gives you what you want:
PHP Manual on PCRE