OmkarPathak / pyresparser

A simple resume parser used for extracting information from resumes
GNU General Public License v3.0
773 stars 394 forks source link

Extracting mobile number gives only 10 digit. but, the data is 12 digit(with country code) in resume. #71

Open subashhariharan opened 1 year ago

subashhariharan commented 1 year ago

Hi, I have a resume with contact number as +91 xxxxx xxxxx. I got the result as 91xxxxxxxx. the case is if the resume contain contact number with Country code, The script extracted the 1st 10 digits only. skipped the last digits. Please check that. I hope the fix will be in extract_mobile_number() in the utils.py file.

kirollosHossam commented 1 year ago

@subashhariharan , you can add custom_regex as argument of ResumeParser object.