Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

Word Find/Replace Wildcards: Add quotes at the beginning and end of text block that contains paragraph marks

I have a table and each cell has text in it. Some cells are single lines, some two lines, some multiple lines, The ones with multiple lines use hard paragraph marks (^13) but have no paragraph mark at ...
amozza's user avatar
  • 1
0 votes
1 answer
158 views

Rsync Compare-Dest not Recognizing Wildcard

I am trying to use rysnc to do multi level incremental backup, however I am running into some issues. It seems as though rsync does not recognize wild cards in compare-dest. I run the following code ...
Jam's user avatar
  • 3
0 votes
1 answer
1k views

Regular expressions to replace text strings in a MS Word document

I have the following protocol names like GR232 or GR485 and I am looking to replace them with the expression "GR" followed by a hyphen and the appropriate three digit number, something like ...
Camila Sanchez's user avatar
-1 votes
3 answers
174 views

How do I delete files with "- copy" in the name using wildcards?

I have a problem, which appears that How to delete files with specified text in their names? would delete what I don't want deleted. Because of an issue with OneDrive after installing an extra ...
Chris Rogers's user avatar
  • 1,490
0 votes
1 answer
998 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,...
Joel Derfner's user avatar
0 votes
1 answer
80 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....
David Gard's user avatar
  • 1,515
1 vote
2 answers
196 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 -...
Francisco Leon's user avatar
0 votes
2 answers
651 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 (...
ron's user avatar
  • 3
0 votes
1 answer
240 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 ...
Jay Standley's user avatar
0 votes
1 answer
1k 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 ...
NeatPace's user avatar
1 vote
1 answer
137 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 ...
Mr. Mendelli's user avatar
  • 1,291
0 votes
1 answer
609 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 ...
Erik Marsh's user avatar
0 votes
3 answers
343 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.*&...
JPX's user avatar
  • 157
1 vote
1 answer
116 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 ...
killua's user avatar
  • 39
-1 votes
1 answer
3k 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:?<...
killua's user avatar
  • 39
1 vote
1 answer
297 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 ...
killua's user avatar
  • 39
1 vote
2 answers
1k 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 ...
fatFeather's user avatar
0 votes
1 answer
59 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. ...
Guest's user avatar
  • 11
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 ...
Nullpointer's user avatar
0 votes
1 answer
524 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.
Ilfat Gultyaev's user avatar
2 votes
1 answer
5k 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 ...
ChrisF's user avatar
  • 41.3k
2 votes
0 answers
159 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. ...
40detectives's user avatar
0 votes
2 answers
1k 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 "...
AnthonyJS's user avatar
0 votes
0 answers
2k 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#...
Xii's user avatar
  • 1
0 votes
0 answers
648 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 ...
g1Lg4m3sh's user avatar
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 ...
Sailor Guy's user avatar
0 votes
0 answers
137 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 ...
Kevan Horncastle's user avatar
0 votes
1 answer
83 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 ...
Sidra Siddique's user avatar
0 votes
1 answer
51 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, ...
Sammelschaft's user avatar
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 ...
David O.'s user avatar
0 votes
1 answer
251 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 ...
Brad Deutsch's user avatar
0 votes
0 answers
156 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....
Showa's user avatar
  • 1
1 vote
1 answer
249 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) ...
Tony's user avatar
  • 11
0 votes
2 answers
2k 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 ...
CampingNear's user avatar
0 votes
1 answer
1k 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]...
Ceres's user avatar
  • 101
1 vote
1 answer
157 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 ...
Malantheon's user avatar
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. ...
Gary's Student's user avatar
0 votes
1 answer
81 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 ...
DenisZ's user avatar
  • 173
0 votes
1 answer
2k 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 ...
Jopie's user avatar
  • 111
1 vote
1 answer
157 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 ...
Kinyonga's user avatar
0 votes
1 answer
361 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)
shenkwen's user avatar
  • 591
0 votes
2 answers
1k 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 ...
shenkwen's user avatar
  • 591
0 votes
0 answers
794 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 ...
Daniel Procházka's user avatar
0 votes
1 answer
118 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 ...
Mitch's user avatar
  • 531
-1 votes
1 answer
86 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 *....
hjahan's user avatar
  • 113
2 votes
2 answers
1k 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 ...
user avatar
6 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/...
showkey's user avatar
  • 169
1 vote
1 answer
223 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 ...
goorawin's user avatar
1 vote
2 answers
343 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 ...
Samuel Hulla's user avatar
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 "-...
JDR's user avatar
  • 23

1
2 3 4 5