String =
“Mandatory MACC/PAC-No
Max of subscriptions - 30
Max # of products - RHP=2,HSI=2,IPTV=2,RMAXSUB=20,RSHM=2,IPTV_stvb=1”
In this i need to check
MACC/PAC- = no
Subscriptions- <> 0
RHP<>0
HSI<>0
IPTV<>0
CAN ANY one help me on this
String =
“Mandatory MACC/PAC-No
Max of subscriptions - 30
Max # of products - RHP=2,HSI=2,IPTV=2,RMAXSUB=20,RSHM=2,IPTV_stvb=1”
In this i need to check
MACC/PAC- = no
Subscriptions- <> 0
RHP<>0
HSI<>0
IPTV<>0
CAN ANY one help me on this
Try this expression
System.Text.RegularExpressions.Regex.Match(Input,"(?<=MACC/PAC-).*").ToString.Trim.Equals("No")
Not System.Text.RegularExpressions.Regex.Match(Input,"(?<=Max of subscriptions - ).*").ToString.Trim.Equals("0")
Not System.Text.RegularExpressions.Regex.Match(Input,"(?<=RHP=)\d+").ToString.Trim.Equals("0")
Not System.Text.RegularExpressions.Regex.Match(Input,"(?<=HSI=)\d+").ToString.Trim.Equals("0")
Not System.Text.RegularExpressions.Regex.Match(Input,"(?<=IPTV=)\d+").ToString.Trim.Equals("0")
hope this helps
Regards
Sudharsan
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.