Forum Discussion
PaulDonny
12 years agoRegular Contributor
It's possible, it will likely take you a lot longer to code than 50 regex expressions though.
If there is so many different variables, how do you plan to keep track of them without some sort of hard coding? The first regex expressions I posted theoretically would be able to by using [1] to know what it was looking for but it would still have issues trying to do what you are wanting.
And I thought you only cared about the companyNameand model number? If there is more requirements than you should tell people that at the beginning. If not, your just wasting everyone's time.
If there is so many different variables, how do you plan to keep track of them without some sort of hard coding? The first regex expressions I posted theoretically would be able to by using [1] to know what it was looking for but it would still have issues trying to do what you are wanting.
And I thought you only cared about the companyNameand model number? If there is more requirements than you should tell people that at the beginning. If not, your just wasting everyone's time.