on 2017 Nov 29 9:59 AM
Hi Experts,
Mapping requirement is to pick the numeric part from input & populate it in the target field.
Say if in input we get value like 'Box 23' then output value should be '23'.
Eg:
Box 23 [Input] - 23 [Output]
Postfach 1261 [Input] - 1261 [Output]
Thanks,
Ramu.
Request clarification before answering.
Hi Ramu,
You can use regex and delete non-digits.
str = str.replaceAll("\\D+","");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
11 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.