Reputation: 47
I have the following data
6-pack
5-pack
2x12-pack
3x14-pack
How to get below desired output
6
5
12
14
Please help me with this in informatica.
Upvotes: 0
Views: 68
Reputation: 3455
Using Regular Expression:
REG_EXTRACT(input_field,'(\d*x?)(\d+)(-pack)',2)
Explanation:
Upvotes: 2