on 02-08-2013 5:39 PM
Hi ,
Appreciate if you could help me to resolve the following scenario.
My input file(flat file) contains records with special characters. It is required to seggregate these records from the normal records and write to a seperate file.The target for my normal record is xml file. Records with special characters can be written to a flat file. Please let me know if any work around is there.
Thanks
As Arun suggested you can use replace_substr() and
If you have so many special character you use search_replace() with substr
and you can refer this blog also
and you can use this code also in UDT
re.sub("[^ 0-9a-zA-Z]","","INPUT FIELD")
Regards,
Kamal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What kind of characters? Example please.
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.