How to search for whole words in file names

Discussion and questions - donor version.
Post Reply
Message
Author
Raindrops
Posts: 48
Joined: 20.12.2021, 08:36

How to search for whole words in file names

#1 Post by Raindrops » 21.03.2022, 15:40

I would like to search for the string "HAB" (case-insensitive).

This string may occur at the beginning of the name, in the middle or at the end.
But it must not be part of a larger string (there must be no characters before and/or after "HAB", other than a space).
In other words, this is a "whole word search".

Is it possible to search for file names, using (a) quick filter and/or (b) search (CTRL+F)?

Karol
Posts: 963
Joined: 19.08.2007, 12:05

Re: How to search for whole words in file names

#2 Post by Karol » 21.03.2022, 16:42

Search (Ctrl+F) - activate "Regular expression" below "File name:" and try with
\bHUB\b

\b is word boundaries

Raindrops
Posts: 48
Joined: 20.12.2021, 08:36

Re: How to search for whole words in file names

#3 Post by Raindrops » 23.03.2022, 08:50

Thanks!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 36 guests