> Hi, I stil have problems. For example ^.*kalle.*$ matches the
> following string a<bckalleabc. If I use the following
> ^.*[^<>/]kalle.*$ I get the same result.
The dot means "any character", and the star means "any number of these",
so you need to replace the dot with [^<>/] and not just stick it in at
random.
^[^<>/]*kalle[^<>/]*$
[^<>/]* means "any number of characters that aren't < > /
Eq.
per_persson_2008@yahoo.com - 12 May 2008 09:40 GMT
On 12 Maj, 10:23, "Paul E Collins" <find_my_real_addr...@CL4.org>
wrote:
> <per_persson_2...@yahoo.com> wrote:
> > Hi, I stil have problems. For example ^.*kalle.*$ matches the
[quoted text clipped - 10 lines]
>
> Eq.
Thanks for the answer. Yes it works if I replace . with [^<>/]*