Print Matchingwords using Regular expression
This Example describe the way to print the matching word from the file using Regularexpression. The steps involved in matching are described below:-
D.txt
| Angeles Angeles Angeles Angeles Angeles Angeles Angele Angele Angele Angele Angele Angele Angele Angele Angele Angel Angel Angel Angel Angel Angel Angel Angel Angel Angel Angel Ange Ange Ange&nbs p;Ange Ange Ange Ange Ange Ange Ange dcjk 4645423 24221 224121 5245241 55241 542541 441 5541 41441 |
|
| Words with digit 1 to 9 are: 4645423 24221 224121 5245241 55241 542541 441 5541 41441 |
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Print Matchingwords using Regular expression
Post your Comment