Wildcards in the text search of WeBuilder

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
Stumpi
Posts: 31
Joined: Mon Dec 28, 2015 3:34 pm

Wildcards in the text search of WeBuilder

Post by Stumpi »

Hello,

I have found no way to use wildcards in the text search. It is impossible?

Thank you, Stumpi.
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Wildcards in the text search of WeBuilder

Post by Aivars »

You can use regular expressions by checking Regular Expressions in Find window. They can find wildcard-like expressions and much more, some info here: http://www.regular-expressions.info/quickstart.html

If you're only familiar with wildcards, here's what you can use:
wildcard-like

Code: Select all

file?
would be

Code: Select all

file.
wildcard-like

Code: Select all

file*template.php
would be

Code: Select all

file.*template\.php
You can also search things like

Code: Select all

var[0-9]+
or find any tag with

Code: Select all

<[a-z]+>
and much more.
Blumentals Software Programmer
Stumpi
Posts: 31
Joined: Mon Dec 28, 2015 3:34 pm

Re: Wildcards in the text search of WeBuilder

Post by Stumpi »

Thanks for your helpful answer and for your patience. I tested it, it works well. I just have to remember the correct character sequences. :wink:

Stumpi
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Wildcards in the text search of WeBuilder

Post by Aivars »

Regexes can be useful professionally in your projects as well, see:
http://php.net/manual/en/ref.pcre.php
Blumentals Software Programmer
Post Reply