LDNeedsHelp
New Member
- Joined
- Feb 29, 2016
- Messages
- 4
Hi there,
I have a list of part descriptions that I need to extract part numbers from. These part numbers may be purely numeric, alphanumeric, or contain hyphens, underscores or special characters:
e.g.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Descriptions[/TD]
[TD]Part numbers [/TD]
[/TR]
[TR]
[TD]Handle #09-ir2135ti[/TD]
[TD]#09-ir2135ti[/TD]
[/TR]
[TR]
[TD]D90-330-EX battery[/TD]
[TD]D90-330-EX[/TD]
[/TR]
[TR]
[TD]VH202-02 steering wheel[/TD]
[TD]VH202-02[/TD]
[/TR]
[TR]
[TD]4964237 wiring teddy[/TD]
[TD]4964237[/TD]
[/TR]
[TR]
[TD]BPLR8CN 5" screw[/TD]
[TD]BPLR8CN[/TD]
[/TR]
</tbody>[/TABLE]
I need something to extract:
1. string of numbers (if only numbers need >4 numbers to make a string)
2. string of numbers and letters or special characters
I'm hoping the logic can look for strings between spaces that include both letters and numbers to distinguish them from the text...
Would really appreciate any guidance anyone can offer!
Many thanks in advance.
I have a list of part descriptions that I need to extract part numbers from. These part numbers may be purely numeric, alphanumeric, or contain hyphens, underscores or special characters:
e.g.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Descriptions[/TD]
[TD]Part numbers [/TD]
[/TR]
[TR]
[TD]Handle #09-ir2135ti[/TD]
[TD]#09-ir2135ti[/TD]
[/TR]
[TR]
[TD]D90-330-EX battery[/TD]
[TD]D90-330-EX[/TD]
[/TR]
[TR]
[TD]VH202-02 steering wheel[/TD]
[TD]VH202-02[/TD]
[/TR]
[TR]
[TD]4964237 wiring teddy[/TD]
[TD]4964237[/TD]
[/TR]
[TR]
[TD]BPLR8CN 5" screw[/TD]
[TD]BPLR8CN[/TD]
[/TR]
</tbody>[/TABLE]
I need something to extract:
1. string of numbers (if only numbers need >4 numbers to make a string)
2. string of numbers and letters or special characters
I'm hoping the logic can look for strings between spaces that include both letters and numbers to distinguish them from the text...
Would really appreciate any guidance anyone can offer!
Many thanks in advance.