Knowledge

Wildcard character

Source 📝

32: 567: 571: 490: 277:
matches exactly one character. In DOS, if the question mark is placed at the end of the word, it will also match missing (zero) trailing characters; for example, the pattern
208:) technology, a wildcard is a symbol used to replace or represent zero or more characters. Algorithms for matching wildcards have been developed in a number of 498: 553: 100: 42: 527: 72: 576: 79: 86: 582: 621: 68: 57: 161:, a wildcard is a character that may be substituted for any of a defined subset of all possible characters. 173: 267:
to select video recordings from September 2024, to facilitate file operations such as copying and moving.
407:
matches a single digit (0–9), and square brackets can be used for sets or ranges of characters to match.
626: 188: 427:, also called "dot") is the wildcard pattern which matches any single character. Combined with the 549: 329:
The operation of matching of wildcard patterns to multiple file or path names is referred to as
93: 314:
matches any single uppercase or lowercase letter. In Unix shells, a leading exclamation mark
134: 263:. If files are named with a date stamp, wildcards can be used to match date ranges, such as 53: 318:
negates the set and matches only a character not within the list. In shells that interpret
8: 466: 451: 416: 330: 301: 158: 229: 519: 586: 461: 456: 382: 236: 371: 305: 166: 49: 615: 394: 271: 20: 367: 181: 146: 592: 439: 401: 149:. It is often used in file searches so the full name need not be typed. 360: 348: 297: 606: 420: 381:
negates the set and matches only a character not within the list. In
233: 209: 247:, also called "star") matches zero or more characters. For example, 145:), which can be interpreted as a number of literal characters or an 31: 428: 386: 240: 205: 201: 138: 122: 377:) to list sets and ranges of characters to match, a leading caret 187:
Whether the wildcard character represents a single character or a
16:
Character used to substitute for any other character/s in a string
471: 352: 19:
For wildcard characters within the Knowledge search engine, see
170: 221: 344: 225: 311:) match a single character within the set; for example, 180:
may be substituted for any one of the 36 upper-case
613: 438:In this case, the asterisk is also known as the 215: 435:it will match any number of any characters. 270:In Unix-like and DOS operating systems, the 58:introducing citations to additional sources 322:as a history substitution, a leading caret 547: 220:When specifying file names (or paths) in 48:Relevant discussion may be found on the 614: 548:Cantatore, Alessandro (Apr 25, 2003). 410: 393:matches zero or more characters, the 359:matches zero or more characters, and 347:, wildcard characters can be used in 152: 25: 304:, ranges of characters enclosed in 13: 556:from the original on Oct 14, 2023. 14: 638: 600: 570: This article incorporates 565: 400:matches a single character, the 191:of characters must be specified. 41:relies largely or entirely on a 30: 583:General Services Administration 530:from the original on 2016-11-21 432: 424: 404: 397: 390: 378: 375: 363: 356: 323: 319: 315: 312: 309: 290: 286: 282: 278: 274: 260: 256: 252: 248: 244: 177: 142: 550:"Wildcard matching algorithms" 541: 512: 483: 1: 477: 212:and non-recursive varieties. 338: 195: 174:automatic link establishment 7: 491:"Using wildcard characters" 445: 216:File and directory patterns 10: 643: 18: 176:, the wildcard character 133:represented by a single 578:Federal Standard 1037C 572:public domain material 622:Computer file formats 591: (in support of 520:"What is a wildcard?" 326:can be used instead. 607:How to Use Wildcards 366:a single character. 69:"Wildcard character" 54:improve this article 467:Wildcard DNS record 417:regular expressions 411:Regular expressions 452:glob (programming) 302:Windows PowerShell 159:telecommunications 127:wildcard character 351:expressions; the 237:operating systems 230:Microsoft Windows 153:Telecommunication 119: 118: 104: 634: 627:Pattern matching 596: 590: 585:. Archived from 569: 568: 558: 557: 545: 539: 538: 536: 535: 516: 510: 509: 507: 506: 497:. Archived from 487: 462:Query by Example 457:Pattern matching 434: 426: 406: 399: 392: 383:Microsoft Access 380: 376: 365: 358: 325: 321: 317: 313: 310: 292: 288: 284: 280: 276: 266: 262: 258: 254: 250: 246: 179: 144: 114: 111: 105: 103: 62: 34: 26: 642: 641: 637: 636: 635: 633: 632: 631: 612: 611: 603: 575: 566: 564: 561: 546: 542: 533: 531: 518: 517: 513: 504: 502: 489: 488: 484: 480: 448: 413: 372:square brackets 341: 306:square brackets 264: 218: 198: 155: 115: 109: 106: 63: 61: 47: 35: 24: 17: 12: 11: 5: 640: 630: 629: 624: 610: 609: 602: 601:External links 599: 598: 597: 589:on 2022-01-22. 560: 559: 540: 511: 481: 479: 476: 475: 474: 469: 464: 459: 454: 447: 444: 412: 409: 370:also supports 340: 337: 217: 214: 197: 194: 193: 192: 185: 167:high-frequency 154: 151: 117: 116: 52:. Please help 38: 36: 29: 15: 9: 6: 4: 3: 2: 639: 628: 625: 623: 620: 619: 617: 608: 605: 604: 594: 588: 584: 580: 579: 573: 563: 562: 555: 551: 544: 529: 525: 524:Computer Hope 521: 515: 501:on 2017-03-24 500: 496: 492: 486: 482: 473: 470: 468: 465: 463: 460: 458: 455: 453: 450: 449: 443: 441: 436: 430: 422: 418: 408: 403: 396: 395:question mark 388: 384: 373: 369: 362: 354: 350: 346: 336: 334: 333: 327: 307: 303: 299: 294: 273: 272:question mark 268: 242: 238: 235: 231: 227: 223: 213: 211: 207: 203: 190: 186: 183: 175: 172: 168: 164: 163: 162: 160: 150: 148: 140: 137:, such as an 136: 132: 129:is a kind of 128: 124: 113: 102: 99: 95: 92: 88: 85: 81: 78: 74: 71: –  70: 66: 65:Find sources: 59: 55: 51: 45: 44: 43:single source 39:This article 37: 33: 28: 27: 22: 21:Help:Wildcard 587:the original 577: 543: 532:. Retrieved 523: 514: 503:. Retrieved 499:the original 494: 485: 437: 414: 368:Transact-SQL 342: 331: 328: 295: 269: 219: 199: 182:alphanumeric 156: 147:empty string 130: 126: 120: 107: 97: 90: 83: 76: 64: 40: 593:MIL-STD-188 440:Kleene star 402:number sign 298:Unix shells 281:will match 265:202409*.mp4 243:character ( 184:characters. 131:placeholder 616:Categories 534:2016-11-21 505:2018-01-23 478:References 361:underscore 289:, but not 80:newspapers 495:Microsoft 431:operator 339:Databases 234:Unix-like 210:recursive 196:Computing 135:character 50:talk page 554:Archived 528:Archived 446:See also 429:asterisk 387:asterisk 332:globbing 259:but not 257:document 251:matches 241:asterisk 206:software 202:computer 139:asterisk 123:software 110:May 2016 472:wildmat 353:percent 94:scholar 421:period 419:, the 385:, the 239:, the 232:, and 189:string 96:  89:  82:  75:  67:  574:from 389:sign 355:sign 291:12345 171:radio 169:(HF) 101:JSTOR 87:books 349:LIKE 300:and 287:1234 285:and 279:123? 261:dodo 255:and 249:doc* 222:CP/M 125:, a 73:news 415:In 345:SQL 343:In 296:In 283:123 253:doc 226:DOS 200:In 165:In 157:In 121:In 56:by 618:: 595:). 581:. 552:. 526:. 522:. 493:. 442:. 433:.* 335:. 293:. 228:, 224:, 537:. 508:. 425:. 423:( 405:# 398:? 391:* 379:^ 374:( 364:_ 357:% 324:^ 320:! 316:! 308:( 275:? 245:* 204:( 178:? 143:* 141:( 112:) 108:( 98:· 91:· 84:· 77:· 60:. 46:. 23:.

Index

Help:Wildcard

single source
talk page
improve this article
introducing citations to additional sources
"Wildcard character"
news
newspapers
books
scholar
JSTOR
software
character
asterisk
empty string
telecommunications
high-frequency
radio
automatic link establishment
alphanumeric
string
computer
software
recursive
CP/M
DOS
Microsoft Windows
Unix-like
operating systems

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.