Re: [exim] Regex help

Pàgina inicial
Delete this message
Reply to this message
Autor: Marc Sherman
Data:  
A: exim-users
Assumpte: Re: [exim] Regex help
Torsten Mueller wrote:
>
> I am loking for a condition, that better checks valid
> recipients.
> - the first chars of the local_part should be numeric.
> - the length of the numeric chars should be at least 8
> - last chars of local_part should be '-robot'
>
> I wasn't able to work out a workable regex to meet the 3 conditions.
>
> Possibly you can send me an example of a similiar regex
> or give me a link to some webpages.


^[0-9]{8,}-robot$

- Marc