Have you tried splitting it into 2 parts?

txt = "103481 Company$reg; Some product"
puts "fail" unless (test.match /103481 Company/) && (test.match /Some 
Product/)

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to