The basic WP search cannot accommodate such a feature. The resulting SQL would need to be significantly altered in order to use the REGEXP_LIKE() function. Regexp searches can distinguish word boundaries. You might try some of the advanced search plugins to see if any would do this for you.
If you can code PHP, the “posts_request” filter could be used to alter the SQL that WP will use.
Thread Starter
alauer
(@alauer)
Hello @bcworkz
thanks for the information.
I cant code.
Can you recommend a plugin that could do that or maybe tell me for what i should look in the repository?
kind regards
axel
I’m sorry but I’m unaware of which plugins may offer such a feature. All I can suggest is reading the descriptions of various advanced search plugins looking for anything claiming or hinting at such a feature. Install and try out any that appear promising.
https://wordpress.org/plugins/search/advanced+search/
If you have no success in the WP repository, try a broader internet search for commercial plugins. If even that fails to turn up anything, you could hire a professional coder to build something for you. But do not solicit hired help in these forums, it’s against our guidelines due to potential for abuse.
Note that a regexp search places a greater burden on server resources and can be noticeably slower if you have a very large number of posts to search.