A graph is singular if the zero eigenvalue is in the spectrum of its adjacency matrix . If an eigenvector belonging to the zero eigenspace of has no zero entries, then the singular graph is said to be a core graph. A -regular set is a subset of the vertices inducing a -regular subgraph such that every vertex not in the subset has neighbors in it. We consider the case when , which relates to the eigenvalue zero under certain conditions. We show that if a regular graph has a -regular set, then it is a core graph. By considering the walk matrix, we develop an algorithm to extract -regular sets and formulate a necessary and sufficient condition for a graph to be Hamiltonian.