
Specialist III
2013-10-29
02:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PAN Card number validation
Hi,
I want to do PAN Card number validation ? This should be 10 characters in size and should have atleast 1 character and 1 number. My input file is Details.xls and output will be two file ,validePancard.xls containting valid no and other is invalid.xls file having invalid no.
Will you please suggest me which component should i use and how to do that?
Thank you in advance.
I want to do PAN Card number validation ? This should be 10 characters in size and should have atleast 1 character and 1 number. My input file is Details.xls and output will be two file ,validePancard.xls containting valid no and other is invalid.xls file having invalid no.
Will you please suggest me which component should i use and how to do that?
Thank you in advance.
263 Views
6 Replies

Anonymous
Not applicable
2013-10-29
05:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi abc12,
Please share a sample input value. Both valid and invalid
Thanks
Dwanny
Please share a sample input value. Both valid and invalid
Thanks
Dwanny
263 Views

Specialist III
2013-10-29
05:54 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
valid value is CKMPS5004B or BC190D9012 etc.
Invalid value is 0012343 or ABCDSDFJHK or asd34 or AS4567 etc.
valid value is CKMPS5004B or BC190D9012 etc.
Invalid value is 0012343 or ABCDSDFJHK or asd34 or AS4567 etc.
263 Views

Specialist III
2013-10-30
01:39 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Waiting for your replay.
Thank you.
Waiting for your replay.
Thank you.
263 Views

Anonymous
Not applicable
2013-10-30
02:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi abc12,
Please find attached the Talend job for your requirement. The regular expression checks the following:
* Total number of characters is exactly 10
* Contains atleast a digit
* Contains atleast one character
* Contains only alphabets or digits.
Thanks
Dwanny
Please find attached the Talend job for your requirement. The regular expression checks the following:
* Total number of characters is exactly 10
* Contains atleast a digit
* Contains atleast one character
* Contains only alphabets or digits.
Thanks
Dwanny
263 Views

Specialist III
2013-10-30
03:44 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am not able to understand the code part of image(it's not visible).will you please write down the code line here
i.e java.util.regx.Pattern.compile.....etc.
Thank you for your valuable response.
I am not able to understand the code part of image(it's not visible).will you please write down the code line here
i.e java.util.regx.Pattern.compile.....etc.
Thank you for your valuable response.
263 Views

Anonymous
Not applicable
2013-10-30
05:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
java.util.regex.Pattern.compile("^(?=.*\\d)(?=.*){10}$").matcher(input_row.PANNumber).find()
Here instead of PANNumber specify your column name.
Thanks,
Dwanny
java.util.regex.Pattern.compile("^(?=.*\\d)(?=.*){10}$").matcher(input_row.PANNumber).find()
Here instead of PANNumber specify your column name.
Thanks,
Dwanny
263 Views
