I had a bunch of trouble getting the regex for both single and multiple pages to work at the same time. I'll see if I can make it more specific, but if you have any tips, that's be helpful. I didn't have much luck with (?:) and (?!) patterns.