Questions tagged [wildcards]
Wildcards in computer programming are symbols that can stand for any number of different points of data. Using wildcards in a query will return more results that standard parameters.
233
questions
0
votes
1
answer
252
views
How to use wildcards to delete all text between two characters in Word?
I've been able to figure out some simpler wildcard searches before but this one is kicking my butt and I'd love some help.
Here's some of the text in my MS Word document:
decidere v1 (v11)
decido, is,...
0
votes
1
answer
47
views
Count the number of cells in an Excel range using multiple criteria with wildcards
With Excel, when using the COUNTIFS() function with a single criteria, a wildcard value works just fine. Using the example data below, the following functions work as expected with my interesting data....
1
vote
2
answers
128
views
How to run xargs utility on all expanded lines of input?
I have a file with a list of files and directories, containing the wildcard *. I am trying to output the size of the entries with du and would like a grand total.
If I start with:
cat file | xargs du -...
0
votes
2
answers
310
views
How to use Command-line to batch-rename the FOLDER prefix using wildcards
So it has been mentioned that REN can be used to rename a FOLDER, but wildcards are not allowed.
I have a directory with a couple of hundred FOLDERS, where I want to remove the first seven characters (...
0
votes
1
answer
183
views
Deleting specific a text string from a file using wildcards in Notepad ++
I am trying to delete a text string from a log file using wildcards in Notepad ++ but the selection always goes to the end of the line instead of the specific string.
Original Line:
11:04:42.011 ...
0
votes
1
answer
753
views
How do i download all files of a certain filetype (.txt) in an FTP server with cURL?
I am trying to download all .txt files in an ftp server.
The main usage or mission is to use wildcards, no specific file names.
Download a singular file works with the following command:
curl --user ...
1
vote
1
answer
98
views
Can %~n1 be Used in the Registry?
I am currently trying to integrate a program into my shell, the program in question is a CLI tool that has multiple options for files passed to it. I know that it is possible to run 'code' in the ...
0
votes
1
answer
356
views
Word wildcard find & replace puts strings \1 and \2 out of sequence
In Word, I want to replace the colons between numbers with "p." to indicate a page number. This is similar to one of most common uses of this feature, to replace hyphens with en dashes (like ...
0
votes
3
answers
164
views
Command line wildcard matching tool with pipe support for Windows
I have not found any commandline tool which would print output only if it matches given wildcards. Wildcards * and ? needs to be supported.
For example
echo 192.168.1.1 | WildcardMatch "19?.168.*&...
1
vote
1
answer
62
views
How to not Include in Wildcard?
I am using the wildcard feature option on word to replace a specific contain on my word document.
My goal is to remove everything on my 500 pages that are between Reception and Organization2.
I used ...
-1
votes
1
answer
2k
views
Find Replace using Wildcard feature
I would like to modify a word document and I don't know how to do it quickly using the wildcard Find/Replace features.
Example:
I tried to use the find/replace with a wildcard: <Reception:?<...
1
vote
1
answer
229
views
How to use Find/Replace Wildcard on Word?
I made a mistake on a huge word document (100 pages) and I would to fix it quickly using the wildcard.
I tried to use many different options but could not find the right command to use.
Example on my ...
1
vote
2
answers
988
views
How can I add a wildcard to have all links that contains : "food" as trusted site in uBlock Origin?
First time using wild cards.
How can I include all links that contain a specific word, For example,
I tried typing.
*food*
uBlock does not recognize this line as shown in the image below, it ...
0
votes
1
answer
52
views
Microsoft Word (Wildcards)
I have a file with a couple thousands of sentences like this.The document is as the following:
BASIC CONCEPTS
BASIC CONCEPTS. PART 1
Pronouns
I, me - ich [iɦ]
you - du [dʊ]
he - er [ər]
Greetings. ...
0
votes
1
answer
1k
views
How to use wildcard in 'win_stat' module in Ansible?
I created below Ansible script where I check if a directory is present or not with wildcard but it failed for me:
- host: windows
vars:
dir: 'c:\inetpub\wwwroot\mysite*' # without * playbook ...
0
votes
1
answer
443
views
How do i remove all the files that contain a certain string in their name?
How do i remove str files with names containing "fr" in them ("text.fr.str") using DOS command?
I tried "DEL *.fr.str". Doesn't work.
1
vote
1
answer
4k
views
How can I use Powershell to rename all files where the name has the format "digits [space] name with spaces" to "digits [hyphen] name with spaces"?
I have a lot of files with names of the format "digits [space] name with spaces" or "(digits) [space] name with spaces" e.g.:
23 Filename 23 with spaces.txt
(47) Filename 47 with ...
2
votes
0
answers
146
views
Use expansion globs {a..z..2} in zsh like in bash
Both in zsh and bash you can:
> echo {1..10}
1 2 3 4 5 6 7 8 9 10
> echo {a..z}
a b c d e f g h i j k l m n o p q r s t u v w x y z
> echo {1..10..2} #range 1 to 10 in steps of 2 (i.e. ...
0
votes
2
answers
950
views
Excel wildcards not finding the matches they should in VLOOKUP function
I have multiple product families I'm working with, and each family has multiple products within. Some families have more products than others, all product names are unique. On one sheet named "...
0
votes
0
answers
1k
views
How to remove a section of multiple file names?
I have many files with a wildcard section I'm having to manually remove and was wondering if there was a way to do it automatically, for example I would want to rename:
Perfect Dark#43DDCBF0#2#0#...
0
votes
0
answers
585
views
How to Select Highest Value Folder Name in Powershell Using Wildcards?
I'm writing a script to kill and restart Google Drive for desktop. I also need it to account for new versions. On my test machine, the executable was stored in:
C:\Program Files\Google\Drive File ...
0
votes
1
answer
2k
views
Pattern_Type Glob or other *.JPG wildcard input file support for Windows 10?
I am using Windows 10 with "ffmpeg version 4.4-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers built with gcc 10.2.0 (Rev6, Built by MSYS2 project)".
I am writing a ...
0
votes
0
answers
129
views
for command does not allow move or xcopy command to move/copy the folder only the contents
have looked on this forum for several examples, started off with xcopy ( not allowing wildcards in the folder name ), wanted to pipe the dir command to either xopy or move but require the dir ...
0
votes
1
answer
71
views
SSL for subdomain
Can anyone please tell me, we have an SSL certificate for *.example.com but now we need separate SSL certificate for abc.example.com only for one subdomain. Is it possible? *.example.com which is ...
0
votes
1
answer
47
views
Using wildcards to do mass copying to slightly different names
I want to copy many files inside a single directory. An example filename starts with error042021.mysite and I want the new name end with -dev.co.at.txt. I think I need a wildcard for the number, ...
3
votes
2
answers
1k
views
MS Word Using RegEx-like Wildcards to Edit Formatting
I'm looking at protein sequence that is highly repetitive and I'm trying to format a specific letter in three-letter motif. For example here's a short snippet of the sequence using the single-letter ...
0
votes
1
answer
191
views
I am trying to search a word document for instances where an italicized word is touching a non italicized word
I have many large word documents with mixed text in them. I am trying to find a way to find when I have an italicized word connected to a nonitalicized word.
i.e. This formstarts
I know how to search ...
0
votes
0
answers
114
views
SSH config regexp aliases
I am looking for a way to specify aliases in .ssh/config that would replace a cumbersome config like this:
Host zeus-1
HostName zeus-XXX-YYY-001.ZZZ
...
Host zeus-999
HostName zeus-XXX-YYY-999....
1
vote
1
answer
235
views
Word 2019 and use of wildcards in Replace to remove newline
I have used some of these wildcards in Replace from other threads on here with good results so far. But right now I am having difficulties with what appears to be an Enter key being pressed (newline) ...
0
votes
2
answers
991
views
How to quote Excel wildcards like * when filtering text?
I have a spreadsheet where a number of entries are prefixed with a character also used as an Excel wildcard:
*.subdomain.example.com
*-uat.example.com
I'd like to use a text filter to find all the ...
0
votes
1
answer
848
views
Unable to use mv with wildcards in Mac OS X
I am trying to use the command
mv ./?*20?* new_directory
running ls ./?*20?* gives multiple matches, but the above command gives me
usage: mv [-f | -i | -n] [-v] source target
mv [-f | -i | -n]...
1
vote
1
answer
132
views
Microsoft wild cards - find words with different endings but next to each other
Aim
Hi folks, I am building an Index and I am trying to search for two-word phrases but with declinations in MS Word. So what I want to find is two words next to each other with fixed beginnings but ...
2
votes
1
answer
2k
views
Pattern Matching in Word VBA Find
I am trying to help someone automate some very simple text editing in Microsoft Word using VBA.
One desired change to to remove commas that are embedded in numbers while leaving other commas alone. ...
0
votes
1
answer
75
views
Shell - How to rename files in the midle of file name?
I have to resize images, and want to rename them on the fly
Names are like following
Compet-210-123456.jpg
Compet-210-123457.jpg
...
Compet-211-123555.jpg
and
I would like to inject 4k between two ...
0
votes
1
answer
1k
views
How to replace or look for italic text within quotation marks
As a text editor, I often come across cases where the author has double marked quotations by putting them in between quotation marks and in italics. In almost all cases it is preferred to use only one ...
1
vote
1
answer
134
views
How do I change part of a word with wildcards, Microsoft Word
I'm converting a timecode and need to replace a colon with a full stop -
00:00:00:000 needs to become 00:00:00.000
I've not used Wildcards before, but gave it ago with no success. What would I have to ...
0
votes
1
answer
298
views
MS-Word wildcards: How to find texts that match either of two strings
I wanna find am or pm in a MS-Word document. I've tried all these wildcard expressions, but none of them works:
[am|pm]
[(am)|(pm)]
(am)|(pm)
0
votes
2
answers
794
views
MS-word find/replace using wildcards: How to find all characters with 20pt font-size and wrap it with <h3></h3>
I am trying to convert a Word document to HTML that I can directly use on my website. Because the document has some certain patterns, so I've decided it is easier to use wildcard replacing method than ...
0
votes
0
answers
675
views
Group policy file access via wildcards
We have a scanning folder for every user on our NAS, this scan folder is used by our copy machine which "connects as the user" to the NAS and uploads the file there. We have started to ...
0
votes
1
answer
93
views
Match Entire String in MS Word Search
I want to return a citation string using wild card search in MS Word. The citations are superscript, so it is easy to isolate them from other text. The search requirements are:
Numbers can be any ...
-1
votes
1
answer
82
views
Enable SSL for any domain automatically
We are building a site builder and users can set their own domain. Is there any way to enable SSL for their domains automatically?
For example, a wildcard letsencrypt certificate but not just for *....
2
votes
2
answers
917
views
How Can You Find Two Separate Words with Microsoft Word Wildcards?
I've searched other answers for this - such as Microsoft Word: find all words with two 'm's using wildcard - but I can't find a solution to my issue.
What I'm trying to do:
I'm trying to use ...
5
votes
2
answers
4k
views
Why can't the wildcard expression be used as a non-root user?
I am using a wildcard expression to match a filename.
This is what happens with a normal, non-root user:
debian@MiWiFi-R3-srv:~$ sudo ls /var/log/apache2/*[0-9].gz
ls: cannot access '/var/log/apache2/...
1
vote
1
answer
203
views
Batch encoding MXF to Prores using wildcards on Windows 10
I have created a script to encode an .mxf file with two separate audio files into a Prores with two ember ed audio tracks, and it works fine.
However, I would like to be able to batch encode using ...
1
vote
2
answers
282
views
MS Word terminate wildcard in advanced search
Is there a way to termiante the wilcard in the search, when I want to search for example for two words?
Let's say I have the following words
awesome mouse
awful albatros
awesome albatros
awful mouse
...
2
votes
3
answers
3k
views
Windows 10 Batch file to change directory names and move directories
I have fifty directories, in pairs, with names such as:
ABC123-aaa-X0001
ABC123-bbb-X0001
XYZ456-aaa-X0001
XYZ456-bbb-X0001
SDF543-aaa-X0001
SDF543-bbb-X0001
I want to remove all the "-...
2
votes
2
answers
333
views
Create script to delete files in subfolders
Good afternoon,
I need to create a script to delete files older than 30 days from the Downloads folder for all users on a server.
I used the command below but it didn't work. Any idea what could be ...
1
vote
1
answer
73
views
Finding spaces OR commas with wildcard search
I'm writing some macros that will automate frequent cleanup/text formatting tasks in the bibliographies I edit. For background, these bibliographies often contain citations for chapters from edited ...
1
vote
2
answers
2k
views
Microsoft Word remove paragraph that contains specific word in the middle of the paragraph
This is my first post here so please be gentle. Ok, now that this is done let's get to work: In my free time I read some web novels and stuff like that, which I get using web-scrappers and stuff. Then ...
0
votes
1
answer
7k
views
Is it possible to find files by wildcard and not substring in Windows Explorer?
When I search for files in my Windows Explorer by pressing F3, I tell it the file name, and it looks in current folder and all subfolders. However, it looks like Windows tries to match filenames by ...