Capturing Yahoo! Slurp entries from Apache Web log file

Q

How to capture the Yahoo! Slurp from Web log file?

Here are some Web log file entries:

✍: Guest

A

Yahoo! Slurp is a web crawler from Yahoo! that obtains content for the Yahoo! Search engine. Yahoo! Slurp uses the following user agent string:

Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)

The regular expression to capture Yahoo! Slurp entries from Apache Web log file can be written as: with the multiple lines modifier "m" specified:

Click the button to test this regular expression here online:

2013-02-04, 2592👍, 0💬