Upute za pretraživanje regularnim izrazom :
Regularni izrazi koriste posebnu sintaksu za pružanje snažnog, fleksibilnog pretraživanja i podudaranja uzoraka. Evo nekoliko kratkih primjera:
1. To find text containing the words color, or colour, use this expression: colou?r
2. To find text ending with "gal", use this expression: .gal
3. If you want to find "spiritual angel", followed within 1 to 20 words by "celestial angel", use this expression:
(spiritual angel)\W+(?:\w+\W+){1,20}?(celestial angel)
4. To find a word beginning with "reform", followed within 1 to 20 words by a word beginning with "affection", use this expression:
(reform|reform[a-z]+)\W+(?:\w+\W+){1,20}?(affection|affection[a-z]+).
Da biste vidjeli (i ispisali) više savjeta za pretraživanje,
kliknite ovdje