Package: pcre2-tools

"pcre2-tools" package binaries on CentOS:

/usr/bin/pcre2grep /usr/bin/pcre2test

You may install this package on CentOS with yum install pcre2-tools