Welcome! Log In Create A New Profile

Advanced

RegEx in Search: find asterisk * and ? and others

Posted by MiellesMain 
RegEx in Search: find asterisk * and ? and others
February 01, 2023 07:43PM
How do I find a asterisk (astérisque; Sternchen) using the windev search function? I tried the regular expression, but there is no explanation, how to use it. The standard way of using regEx doesn't work in the search:

[*]
[*]{1}
[*]+
[*]*
[*]?



Edited 1 time(s). Last edit at 02/21/2023 07:29PM by MiellesMain.
pao
Re: RegEx in Search: find asterisk *
February 02, 2023 09:04AM
You can use the postion,contains or stringcount functions depending on your needs.

Regards

Paulo Oliveira



Edited 1 time(s). Last edit at 02/02/2023 03:11PM by pao.
Re: RegEx in Search: find asterisk *
February 02, 2023 11:50PM
I think the backslash is required to avoid the asterisk being given a special regex meaning, eg: [\*]

Regards
Mike
Re: RegEx in Search: find asterisk *
February 21, 2023 07:28PM
Sorry, again. How do I search for question mark '?' as in "text" search the ? is a wildcard character...
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: