I came to the US on F1 visa in 2008. Upon graduation in 2011, I worked on OPT for a year and got my H1b approved in Oct 2012. I worked for a for-profit employer from Oct 2012 to June 2013.
In Fall 2013, I joined PhD and got my F1 visa stamped from India. Currently I plan to graduate in Dec 2017 and my concern is if I will be subjected to H1B lottery system in March/April 2018 or will I be exempted from the lottery.

Please advise on this matter. Looking forward to your response.

Thank you.