Extracting details from PDF

Hi All,

We need to extract the years of experience from the Resume, Can you suggest me an approach.?

The string is below :

ABC Company 2006 to 2007
DEF Company 2008 - 2009
GHI Company 2010-2011
JKL Company 2012 , 2013
MNO Company 2014,2015
PQR Company 2015 - Present

out put should be

2006 to 2007
2008 - 2009
2010-2011
2012 , 2013
2014,2015
2015 - Present

Thanks.

Hi @arivazhagan_mathivan

Do a For Each in Regex.Matches(<resume_content>, "(\d{4}).+(\d{4}|Present)").

The argument type of the for each item must be a System.Text.RegularExpressions.Match.

Access the property .Value of each match. This property is the extracted part that you want.

1 Like