Forum Discussion
John_Alam_45640
May 19, 2014Historic F5 Account
Take out the \r\n from the expression. The (.*) should match that as well.
STREAM::expression {@^EHLO.*@@ @^HELO.*@@}
Here is an example:
(System32) 30 % regexp {EHLO.*} "EHLO 1.1.1.1\r\n" var1
1
(System32) 31 % puts $var1
EHLO 1.1.1.1
(System32) 32 %