I would like to use regular expression to exclude or keep lines in text files.
But I'm a beginner with them, and the ones I create, I would like to test them against samples, and especially samples that often tricks the regular expressions.
Among the test resources over the Internet, does known text files exist for this purpose?
Having, for example, lines with a number with a sign or not, 1.150e7
, \/ooo$gg
strings and so on.
Everything able to trap the programmer I am, so I can challenge my expressions against them?
Aucun commentaire:
Enregistrer un commentaire