For news filters and for sorting criteria you can use regular expressions. However, regular expressions are a science as it, so we just try to explain the concept by examples. Enter without apostrophe.

Regular Expression
String that match for the regular expression
"A5"   (no blank)
A5, A51, A556, OutA5, A555
"A5 "   (blank at the end)
A5, OutA5, InA5
A5, B5, C5, D5, ... Z5, A5Out, Z5In
"[A-Z]{1-3}5 " (blank at the end)
A5, AA5, BAB5, B5, BB5, AB5, AAA5, ..., ZZZ5
"[A-Z][0-9] " (blank at the end)
A1, A2, A3, ..., A9, B1, ..., B9, Z1, ... , Z9
"[A-Z][0-9] ]{1-3} " (blank at the end)
A1, A2, A3,...,A999, B1,...,B999, Z1,..., Z999
A5  (\b represents a word boundary)
15 (but not 215, 152, 1215, 1515, A15, etc.)

For more info you will find several tutorials in the web, e.g here.

Keine Kommentare:

Kommentar veröffentlichen