Using Regex in GSC to Find Longtail Keywords and Questions

January 08, 2024

Gscore is the WordPress plugin by Steve Toth that connects to GSC and helps you pull in keyword data such as the questions and longtails found is this post. As of last week (early April 2021) Google now recognizes regular expressions (regex) for querying search console. We’re going to use the regular expression:([^” “]*\s){7,}? Type this into “query” “Custom (regex)” and it will show you all the keyword with 8 or more words in them. For more info on regex and to test your regex, I highly suggesting using https://regex101.com/and thanks to Michael Martinez who added more question modifiers to my original regular expression:^(who|what|where|when|why|how|was|wasn't|wasnt|did|didn't|didnt|do|is|isn't|isnt|are|aren't|arent|will|won't|wont|does|doesn't|doesnt|should|shouldn't|shouldnt|were|weren't|werent|would|wouldn't|wouldnt|can|can't|cant|could|couldn't|couldnt|if)[" "]

The source of this news is from SEO Notebook