Questions tagged [wildcard]

A wildcard character is a specially defined character allowing for substitution of any other character, including a pattern or sequence of characters. Use this tag for questions on how to use wildcards for regular expressions, shell scripting, string manipulation and database control, but not for use in terminal commands as that is off-topic.

A wildcard character is a special character defined by many different systems/programming languages with each their own specific implementations. They may allow for accessing single characters, sets of characters or all characters matching a certain regex pattern.

Examples include :

* - Any sequence of characters. (DOS/Unix)
? - Any single character. (DOS/Unix)
% - Zero or more characters. (SQL)
# - Matches a single numeral. (SQL)
. - Matches a single character. (Regular Expressions)

4611 questions
1
vote
1 answer

Use wildcard query on dataset with models in BigQuery

I have a series of tables that are named {YYYYMM}_{id} and I have ML models that are named {groupid}_cost_model. I'm attempting to collate some data across all the tables using the following query: SELECT * FROM `mydataset.20*` The problem I'm…
Woody1193
  • 7,252
  • 5
  • 40
  • 90
1
vote
1 answer

Wildcards in dlookup

I am trying to search the a table named "PeopleRecords" for a desk location given only the persons first name. Every time I attempt using a wild card I return "nope". How should I correctly use the wildcard? param = Nz(DLookup("DeskLocation",…
Adam
  • 13
  • 1
  • 3
1
vote
1 answer

Script option taking wildcards

Is it acceptable to have an option that takes wildcards (e.g. for files) For instance, I could hove a bash script that is called as follows rando -s /angio/repo/A* Have coded an argument parsing as follows, but need some assistance on how to…
Angio
  • 57
  • 1
  • 5
1
vote
1 answer

Set up data factory to copy files from Fileshare to blob, and creating landing folders

--UPDATE--Issue sorted out following the link in the comments from another post Im new to ADF and even though I have created some simple pipelines before, this one is proving very tricky.. I have a Fileshare with files and pictures from jobs with…
1
vote
1 answer

print dir path after matching its name with wildcards

Have been stuck with this little puzzle. Thank you in advance for helping. I have a directory path and would like print its path after match. like echo /Users/user/Documents/terraform-shared-infra/services/history_book_test | awk -F…
Adi
  • 13
  • 3
1
vote
2 answers

BASH script wildcard not working

I'm trying to use mkdir command in a bash script using a "*" wildcard. Full code is: mkdir -p $EXTRACTDIR/$CV_NAME*/release It supposed to create a folder "release" in an existing "OpenCV-2.2.0" folder. Two computers does exactly that and the…
Royi Freifeld
  • 629
  • 2
  • 11
  • 31
1
vote
1 answer

Why are my wildcard attributes not being filled in Snakemake?

I am following the tutorial in the documentation (https://snakemake.readthedocs.io/en/stable/tutorial/advanced.html) and have been stuck on the "Step 4: Rule parameter" exercise. I would like to access a float from my config file using a wildcard in…
1
vote
2 answers

Golang exec command chmod returning error

Familiarizing myself with Golang here and i am trying to execute shell commands, i need to chmod for any .pem file so i decided to use the wildcard * func main() { cmd := exec.Command( "chmod", "400", "*.pem" ) cmd.Stdout = os.Stdout …
badman
  • 319
  • 1
  • 12
1
vote
2 answers

Ignoring wildcard function of FollowHyperlink within a text string in VBA

I am trying to open a file path in Explorer using the .FollowHyperlink method and get errors on the strings with the "#" character. How do I format the string to make .FollowHyperlink ignore the wildcard functionality? For instance how would I…
mttCCI
  • 13
  • 2
1
vote
1 answer

HTTP2 push regex/wildcard

Is it possible to push files using http2 using wildcards, something like: header("Link: ; rel=preload; as=script", false); Where java-1.js. java-2.js etc will be preloaded using the http2 protocol? Or maybe all .js in one…
1
vote
1 answer

Find specific TEXT between Small brackets using FIND with wildcard

I need to find specific Text say " PL" between small brackets () i.e Text Criteria: text " PL" - both letters are Capital and there is a space before "PL" text should be bold text should be in between small brackets ie. () Example Text: Portugues…
VBAbyMBA
  • 806
  • 2
  • 12
  • 30
1
vote
1 answer

Can I run a Windows Powershell command matching all files in the current directory and all subdirectories?

My file structure looks like this: maindir/ - subdir/ - file1.ts - file2.ts - file3.ts - file4.ts I'm trying to build typescript interfaces using ts-interface-builder, and I want to match and build all 4 file*.ts files.…
1
vote
1 answer

How to use a non-char list inside of an sql-LIKE wildcard?

I'm trying to take the following code and make it DRY without VBA. code (ms access 2007 sql): SELECT * FROM Student_Enrollment WHERE ID LIKE '*2*' OR ID LIKE '*5*' OR ID LIKE '*8*' OR ID LIKE '*17*' OR ID LIKE '*14*' OR ID LIKE '*11*' OR ID LIKE…
1
vote
1 answer

wildcard htaccess

i have installed wildcard on my server , and it's working fine i used this htaccess Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.domain\.org$ [NC] RewriteCond %{HTTP_HOST} ^(www\.)?([^\.]+)\.domain\.org$ [NC] when i open…
Osama Tarek
  • 297
  • 5
  • 16
1
vote
1 answer

powershell split using wildcard

I am attempting to split a text file using the PowerShell -split operator, but unable to figure out the expression. example this needs to be split into a total of 4 section e.g. while the first 2 sections work as expected, the 3rd section can be…
Sachin
  • 65
  • 2
  • 6
1 2 3
99
100