Means of regular expression ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Means of regular expression ?

2nd Apr 2017, 4:24 AM
Bhumiben Solanki
2 Answers
+ 1
Did you ever tried to search for a string in another string? Well, instead of strings you can search for patterns. Those patterns are the regular expressions. For example, instead of looping through a string and check if every character is a 0, you can check if a pattern is a number of zeros that start and end the string. If you want I can provide a code :)
2nd Apr 2017, 5:00 AM
Luca Garrera