I am trying to perform a search using REGEXP on a part number field in a parts table, where some of the parts have dashes. i.e. NZ-23456 I need to ignore the dashes.
It is common for the customer to enter the beginning of a part number, such as "NZ2", and the part number NZ-23456 must be returned.
I have been trying to use regular expressions, but I have not found anywhere where you can ignore a specific character WHEN you do not know its position. The trick is, the dash could be anywhere in the part number string.
Are there any regular expression guru's out there?
Thanks, Eric
It is common for the customer to enter the beginning of a part number, such as "NZ2", and the part number NZ-23456 must be returned.
I have been trying to use regular expressions, but I have not found anywhere where you can ignore a specific character WHEN you do not know its position. The trick is, the dash could be anywhere in the part number string.
Are there any regular expression guru's out there?
Thanks, Eric