Knowledge and its related techniques cater the need of many tools and frameworks for software development, testing and management. Accurate usage of code according to the software requirement is prevalent in this regard, as inappropriate development of code with conceptual misunderstanding might lead to waste of time and effort. This paper describes a new approach to automate code acquisition task. This gives the advantage of using the coding knowledge that is already encoded which in turn reduces developer s task and their knowledge and effort could be utilized for further enhancement of their work. Using the existing coding knowledge eradicate the errors which are introduced at the time of naïve development activity. Furthermore, this technique can be utilized by software development applications. In this paper, a new knowledge execution technique to acquire code knowledge from software application is implemented. Code extraction gathers code segments from projects organize and logs it for future use. Here, Source Code Extraction algorithm is described that captures code.