The pattern of \d represents a match with any digit, 0 through 9, within the searched string. The following examples illustrate the matching of patterns containing \d.
Pattern | Searched String | Result |
---|---|---|
CUST\dFIL | CUST1FIL | Match |
CUST\dFIL | CUST2FIL | Match |
CUST\dFIL | CUSTAFIL | No match |
CUSTFIL\d | CUSTFIL3 | Match |
CUSTFIL\d | CUST1FIL | No match |
Custfil\d | CUSTFIL9 | No match |