+ 1

What is regular expressions ?? I am not understand its programs as well as concept

8th Jan 2017, 5:49 PM
chaurasiya abhimanyu harilal
5 Respostas
+ 5
You can use python to communicate with server and keep only the data you want by filtering it through RegEx
8th Jan 2017, 5:55 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 5
If you want to get all resources of html page: (?<=(src|href)=")(.|\n)+?(?=")
8th Jan 2017, 5:56 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 3
(?<=then)S?earch(?=[Goo]gle)…*?
8th Jan 2017, 5:50 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 3
Regular expressions, despite how complex they may seem, are used to make it easy to match patterns in strings. It's purpose is basically to tell a program exactly what to search for. Imagine that you have a .txt file with thousands of words, and that you want to search for all the integers in this file, you could type (in a Linux terminal window): egrep -o "[0-9]+" file.txt (egrep is a great command). The syntax may differ slightly depending on what program or language you're using, for example java and c# have similar regex handling.
8th Jan 2017, 8:33 PM
Emil Westin
Emil Westin - avatar
+ 1
you mean all this are regular expressions ?..... so how to use it in programs n for what conditions ?
8th Jan 2017, 5:53 PM
chaurasiya abhimanyu harilal