Certain vertify actions, e.g., for an HTML ComboBox in Certify allows for "Matches expression" as a criteria.
To create an
expression that ensure that the two pieces of data exist in the combobox item,
a very basic regular expression such as: 709255\D*0001 will look for the 709255
number followed by 0 or more non-digit characters ending with 0001. If the
customer want to guarantee a match to the whole string and not just a
sub-string of the item, then a regular expression such as: ^0*709255\D*0001\D*$
can be used. This explicitly says starting from the beginning of the string,
match 0 zero or more times followed by the 709255 number followed by zero or
more non-digit characters followed by 0001 and explicitly ending with zero or
more non-digit characters.
These are very simple expression
that will match the input string provided as an example. This, however, is not
the complex part of creating a regular expression which is that the expression
created must not only match the desired item but NOT match on any other items
in the list.
Here are several Microsoft
documents discussing the regular expression syntax:
http://msdn.microsoft.com/en-us/library/ms974570.aspx
http://msdn.microsoft.com/en-us/library/6wzad2b2%28VS.85%29.aspx