Build, test, and debug regular expressions
This regex matches search query URL patterns at the end of a line, targeting three formats: UTF-8 encoded queries (`UTF-8&q=`), WordPress-style search parameters (`?P=`), and Drupal search paths (`/search/node/`). It captures the search keywords or query terms from each pattern. Useful for parsing and extracting search terms from web server logs, URL strings, or analytics data.