Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Retro
.
Toggle Highlighting
SQL
/* A backend replacement for https://tools.wmflabs.org/grep/ The current implementation of grep is very slow. */ SET @regex_pattern = "^U\+"; SET @like_pattern = "U+%"; USE enwiki_p; /* "Language" and "Project" */ SELECT * FROM page WHERE page_namespace = 0 /* Namespace */ /* AND page_title REGEXP @regex_pattern /* "Pattern" */ AND page_title LIKE @like_pattern /* More straightforward option for pattern-based searching */ /* AND NOT page_is_redirect - negate "Include redirects" */ LIMIT 1000 /* "Limit the display to the first 100 results" */
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...