Please try the following:
> match (n:specializzazione)   WHERE   n.nome =~ '.*ecologi.*ā€™  return n.nome

If you want Case insensitive then try
> match (n:specializzazione)   WHERE   n.nome =~ '(?i).*ecologi.*ā€™  return 
> n.nome

Sent from my iPhone

> On Nov 10, 2018, at 5:43 PM, Paolo Di Pietro <paolodipietr...@gmail.com> 
> wrote:
> 
> Hi Sukaant,
> 
> your query was another one I tried
> 
>     match (n:specializzazione)   WHERE   n.nome =~ '.*ecologi*'  return n.nome
> 
> returns
> 
>     (no rows)
> 
> Thank you
> 
> Paolo
> 
>> On Saturday, November 10, 2018 at 8:47:56 PM UTC+1, Sukaant Chaudhary wrote:
>> Iā€™m sorry the query will be like this:
>>> match (n:specializzazione)   WHERE   n.nome =~ '.*ecologi*'  return n.nome
>> 
>> Thanks,
>> Sukaant
>> 
>> 
>>> On Nov 10, 2018, at 2:36 PM, Paolo Di Pietro <paolodi...@gmail.com> wrote:
>>> 
>>> Hi all,
>>> 
>>> I'm running a community version 3.0.12
>>> 
>>> I have a simple DB, where i can do the following query:
>>> 
>>>     match (n:specializzazione) return n.nome
>>> 
>>> with the following answer:
>>> 
>>>     n.nome
>>>       Ginecologia ed Ostetricia
>>>       Dermatologia
>>>       Otorinolaringoiatria
>>>       Ostetricia
>>> 
>>> 
>>> If I change the query in 
>>> 
>>>     match (n:specializzazione)   WHERE   n.nome =~ '$*ecologi*'  return 
>>> n.nome
>>> 
>>> the result is 
>>> 
>>>     (no rows)
>>> 
>>> the same with 
>>> 
>>>     match (n:specializzazione)   WHERE   n.nome =~ 'ecologi'  return n.nome
>>> or
>>>     match (n:specializzazione)   WHERE   n.nome =~ 'Ginecologi'  return 
>>> n.nome
>>> 
>>> Have someone an idea about my mistake?
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "Neo4j" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to neo4j+un...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to neo4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to