Re: [Exim] Regex Help

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Nico Erfurth
Datum:  
To: Marc Perkel
CC: exim-users@exim.org
Betreff: Re: [Exim] Regex Help
On Sun, 22 Dec 2002, Marc Perkel wrote:

> Need a little help with regex.
>
> I have a string:
>
> 1234#1234@4568@xxxx@ext
>
> I want to match the text in between the # amd the FIRST @.
>
> I tried #.*@ and that seems to match to the last @.
>
> How do I do this?


With non-greedy matching
#.*?@
^

ciao