I’m not an expert at RegEx but give this  shot:
^static-host[\w-]*\.link\.net\.pk$

I recently found Expresso (http://www.ultrapico.com/Expresso.htm) and find it 
very useful for this kind of thing.  Oh and it’s free ;-)

For a primer in RegEx check out http://www.regular-expressions.info


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Waseem Sindhu
Sent: Tuesday, February 26, 2008 12:58 AM
To: Questions and Answers for users of ASSP Anti-Spam SMTP Proxy
Subject: [Assp-user] Regular Exp question about validFormatHeloRe


Hello,



I'm in need of a regular express so that if HELO of sender starts with 
"static-host" and ends with ".link.net.pk", ASSP should consider it a valid 
HELO (i.e. 
static-host210-2-181-7.link.net.pk<http://static-host210-2-181-7.link.net.pk>). 
So, what line of RE should i enter in validFormatHeloRe?




Thank you.

ASSP rocks :)

--
M. Waseem Sindhu
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to