If you thought grep was powerful, wait until you get a hold of ast-grep, which takes it to a whole new level.
The tiny editor has some big features.