Driver Code
public static void main ( String [ ] args ) { String text = " geeksforgeeks " ; String pattern = " ge * ksforgeeks " ; if ( isMatch ( text , pattern ) ) { System . out . println ( " Yes " ) ; } else { System . out . println ( " No " ) ; } } }