Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
2answers
41 views

How to find a file path like `\\company\path` while in edit mode in a browser editor like confluence

When editing a page in confluence CTRL-f brings you to a find-and-replace dialogue instead of the find field of your browser. When filling in a file path in the find box of this dialogue, you don't ...
0
votes
2answers
27 views

Word 2010: Find a single word at the end of the line

Is there a way to find any lines in a Word document then end with a single woes at the end of the visible line? This example if of one line, and I want to find it in a whole document, as it ends with ...
0
votes
1answer
23 views

Notepad++ wildcard in find/replace

I have multiple lines with values like: F9 23 F9 41 F9 32 F9 12 Those values change in many lines, I need change them to: F9 23 text F9 41 text F9 32 text F9 12 text I try: find: F9 .*.*.* ...
0
votes
1answer
19 views

MS Word Pro 2016 wildcard detailed description

Is there a MS Word Pro 2016 wildcard detailed description available? The only descriptions from Microsoft that I can find describe only the basic syntax with a few simple examples. The basic syntax is ...
0
votes
0answers
275 views

What are all of the globs I can use with grep in bash?

Linux and Unix-like shells like bash allow for the use of globs to approximate filenames and make file searching easier. I'm aware of the wildcard glob (*). What other globs exist in bash that I can ...
1
vote
1answer
120 views

Part wildcard in hosts subdomain possible?

On our server we've got a lot of redirects for specific subdomains, which always end in the same: 127.0.0.1 abc-thesame.domain.com 127.0.0.1 def-thesame.domain.com 127.0.0.1 xyz-thesame....
2
votes
0answers
126 views

Subinacl file/folder permissions and wildcards in Windows

I'm having a problem with subinacl and was hoping someone could help. I've tried searching through this site and in various sites online and couldn't find the answer I was looking for. I think the ...
0
votes
1answer
69 views

DNS wildcard entry not working

The following environment is given (of course the ip and the domain name are fake): domain example.com a-record example.com resolves to 1.1.1.1 wildcard entry in public dns for that domain is in ...
0
votes
2answers
79 views

fdisk -l | grep command with wildcard doesn't show results

Why commands fdisk -l | grep sd? fdisk -l | grep sd?? don't work in this situation and fdisk -l | grep sd[ab] works ?
2
votes
1answer
37 views

MS Word - add a character after bold

I have a number of lines like that: wykluczenie expulsion, disqualification, exclusion wykluczenie wspólnika expulsion of a partner, disqualification of a partner wykładnia explanation, ...
0
votes
1answer
246 views

moving files matching a pattern that catches the directory

Consider: $ ls foo xyfooz.tex $ find . -maxdepth 1 -type f -name '*foo*' -exec mv {} foo \; $ ls ./foo* xyfooz.tex I'm trying to achieve the same sequence of instructions only with mv, not find: $ ...
0
votes
1answer
46 views

Match WIldcard to specific word length.

So when I use wild cards on Microsoft Word I have something like [A-B]{2} It works as expected and capture groups of two letters as wanted. My issue is that it also captures 3 letter and larger ...
1
vote
1answer
2k views

Move folders using wildcard

I have a script to move folders from one local account to my admin. But I want to use a wildcard in my script, so for example if the folder name is FOLDER, FOLDER1 is also moved to the admin. I am ...
0
votes
0answers
22 views

regex in Windows Permissions (Server 2012)

We have a network drive containing hundreds of folders - each one for a client. Within these folders are the same structure of subfolders. Client A (001) Accounts HR Correspondence Invoices And ...
2
votes
2answers
134 views

How to select a range from '[' to ':' and replace?

I have a document with a many looks like look something like: [9/22/17 10:46 AM] xxxxxxxx: llllllllllllllllllll [9/22/17 10:46 AM] Cc: cccccccccc [9/22/17 10:46 AM] Me: bbbbbbbbbbbbbbbbb [9/22/17 10:...
0
votes
2answers
52 views

Formula: Excel Find and Replace All full stops before specified characters

I have a column of research data I wanted to clean. As users have not followed instructions, there are unnecessary full stops in the sentences. I need to remove all full stops that are before a ...
0
votes
0answers
95 views

Microsoft Word find/replace regex bug

I'm trying to replace normal apostrophes with smart ones, but the replace function offsets the ’ to the wrong side of the character. My expression: Find what: '([a-z]) Replace with: ’\1 ...
0
votes
1answer
17 views

Configure wildcard A records for sub domains

So, I have a zone file for a certain domain, in json, a part of it looks like so: "a": [ { "name": "@", "ttl": 400, "value": "10.24.54.1" }, { "name": "@", "ttl": 400, "value": "172.14.2.41" }...
3
votes
1answer
730 views

Is there a stand-alone* wildcard for the user documents folder?

I'm working on a batch script that deletes folders & files and I want to know if there is a stand-alone/singular wildcard variable that represtnts: C:\Users\%USERNAME%\Documents I know about C:\...
-1
votes
1answer
41 views

Understanding Wildcards in ENUM Responses

I have just started working on ENUM and we get some RR and Answers which are like these IN NAPTR 100 10 "u" "E2U+sip" "!^44(.*)$!sip:9739668530@isp.example.com;user=phone!" . I want to understand ...
0
votes
1answer
72 views

wildcard search for a particular word “not followed” by a specific string, not working

I have a document with hundreds of occurrences of the Spanish equivalent of "US$ million", which is "millones de dólares EE.UU.", and I want to make sure I have not left out any part of it, i.e., it ...
1
vote
1answer
103 views

Using wildcards in find and replace to delete a long string

I'm looking to replace all instances of a changing string of characters within a document. Here is an example of the string: [[npr_B6G8879JASKLDF378SJKDAS9__06BF5A]] The number/letter string ...
1
vote
0answers
105 views

Word - Is there a way to remove an entire line (search and replace) which contains a specific word?

I'm trying to find any lines which contain either [SF] or [NF] (including the brackets), and get rid of the whole line. Is that possible in Word? I'm using Word 2002 but I would think the answer ...
1
vote
0answers
886 views

Searching for strings with hyperlinks in Outlook 2016

In Outlook 2016 (for Windows) I can successfully find (me@example.com) using: non-wildcard search (me@example.com) wildcard search \([a-z]@\@[a-z.]@.com\) However, both methods fail if the e-mail ...
1
vote
0answers
194 views

Why are these wildcards not working in Word 2016?

I'm having this issue on Word 2016. I can't use the wildcards that I was working with on other versions. What may be the issue here?
2
votes
1answer
71 views

Is there a variable that represents a script's file name (excluding extensions)?

I am making a batch program that will create a .ini settings file after execution. I want the name of the settings file (excluding the extension) to be drawn from the scripts file name, so if it is ...
0
votes
0answers
337 views

Word - replace just a part of the text to find

I am finding this pattern but then I want just to replace this: ^|. Can I do it somehow?
1
vote
0answers
39 views

Using the correct wildcard on Microsoft Word

I'm completely new to wildcards and stuff but I really need to refine my search results for a project. Here is a picture: First of all, I have codes like this: 1PinfraestruturaT3 1PparaP3 I want ...
1
vote
1answer
629 views

Move only files of a given extension while preserving folder structure

I'm trying to backup all of my programs I've written without any of the other stuff, and their location in the folder structure is important because it helps me know what the program is for. Luckily I ...
2
votes
3answers
101 views

WildCards corrupts Copy`s output file when an output name is specified

copy create's an almost empty (1K) file when a wildcard (*?) is used in the source & an output name is specified. copy /D /V *?ample.png %homepath%/example.png it works for some file types (....
3
votes
1answer
165 views

'find' utility does not output all files when using wildcards

Running: $find . -name *.exe gives: ./MakeItSo_1.2.2/MakeItSo_1.2.2/MakeItSo.exe ./MakeItSo.exe but those are not the only exe files in the directory. For example, running $find . -name ATLTester....
0
votes
1answer
67 views

Can I use a wildcard for a directory with a randomized numeric name?

I am making a tool that is for editing the shortcuts for games in a Steam library, but the problem I face is that the shortcuts file path differs per user. In the path to the file, there is the users ...
1
vote
2answers
10k views

PowerShell: How do I append a prefix to all files in a directory?

Currently I'm using cmdlets like: dir | rename-item -NewName {$_.name -replace "-","_"} But now I need to add a prefix to the filename for all files in the directory. I can't predict how long each ...
0
votes
0answers
74 views

Is it possible to create global .lnk Windows' files? [duplicate]

I tried to research for this, but nothing was clear to me. I'm a true newbie when talking about coding, as it has been a while I don't work with it. All I've found was VB, and some weird hex registry ...
1
vote
1answer
329 views

Wildcards in the exceptions to Thunderbird's remote content rules

I would like to prevent remote content to load by default, so I have not checked Privacy -> Mail Content -> Allow remote content in messages. To the right of that option, there is a button for ...
0
votes
1answer
82 views

Linux Wildcard Random instead of Alphabetical Order? [closed]

Is it possible to use the * operator in Linux randomly instead of in alphabetical order? For example, if I run cat *, it will use cat in alphabetical order. Is it possible for it to run * in random ...
0
votes
2answers
52 views

Is there a method in Microsoft Word to search and replace strings “01” , “02” , “03” with strings “1” “2” “3”, etc.?

I am designer creating an event calendar. Each listing includes an event title, description, date and time. The data has been retrieved from a database and brought into Excel where the date and time ...
1
vote
1answer
48 views

Unexpected behavior with word find and replace for `?{1,2}`. Matching long strings of characters

Question relates to word's find and replace with wildcards enabled (quasi regex). According to this microsoft page: ? represents any single character (like . in regex) {n,m} represents a defined ...
0
votes
1answer
853 views

Excel search for ~* or ~? sequence

A previous question (link below) concerns how to search for the star and question mark characters in Excel. This can be done by entering ~* or ~? in the 'Find What' field. My question, then, is how ...
1
vote
1answer
97 views

replace mysql_num_rows($result); with $result->num_rows;

I am in the process of changing old mysql code with mysqli. I am using notepad++ to do this since it is much faster than using dreamweaver IMO. I need a regex find and replace that would do this for ...
2
votes
1answer
1k views

microsoft word case insensitive find and replace with wildcards

When enabling the wildcards option in a find and replace operation, it automatically becomes case sensitive. Is there a way to allow a wildcard search such that something like: example*find*and*...
1
vote
1answer
291 views

Check if wildcard covers given path in powershell

I'm trying to figure out how to test in PowerShell if a wildcard in command-line notation would be triggered for a given path. To be clear I have something like this: For ($exception in $Exceptions) {...
0
votes
1answer
592 views

How to replace formatting of “0 or more characters” (*) wildcard in MS Word?

Suppose I'm searching/replacing the "0 or more characters" wildcard (*) in Word (in my case, Word 2010). I want to replace that * wildcard with the exact same text in each instance, but with modified ...
0
votes
1answer
410 views

how to expand filenames on command line [duplicate]

I'm using a batch file to execute an awk program and feed it filenames. Question: How do I get it to expand the filenames on the command line? Syntax: Command.exe *.rpt > out.txt Exact: "C:\...
1
vote
1answer
65 views

How to search in Word for spaces that are on the beginning of a new line

I have the following issue. I recently wrote a macro that allows me to replace all TAB insertions in a text with a space. This is a must as in the frame I am working in, as it happens a lot (context: ...
0
votes
0answers
153 views

How to delete folders with common string windows batch

I have a directory of of subdirectories as such: test1_2015_1 test1_2015_2 test1_2013_1 test1_2013_1 test1_2012_3 test1_2015_1 test1_2016_1 I want to delete all folders with containing "2015". I ...
4
votes
2answers
1k views

Making microsoft word replace work with wildcards?

I am editing a huge document and using the wildcard search of . [A-z] and finding what lines do not have a double space after the period. This works great. How do I easily do a replace command that ...
0
votes
1answer
56 views

Seeingly simple Word 2013 wildcard search and replace

I have a lot of references that I want to reformat the current format is Hambrick, D., & Frederickson, J. 2005. Are you sure you have a strategy? Academy of Management Executive, 19(4): 51-62. ...
0
votes
2answers
85 views

How to change all sentence case words into uppercase in word 2013 using wildcards

How can I change all sentence case words into uppercase in word 2013 using wildcards or using the Find and Replace feature? Examples: Convert Hello to HELLO Convery Balloon to BALLOON
0
votes
1answer
634 views

Trying to find-and-replace asterisk with the × sign in expressions of the kind 10×5^6

I'm trying to find-and-replace the asterisk with the × sign in expressions of the kind 10*5^6 in MS Word 2007. In order to find such expressions first, I tried using [0-9]*[0-9] But instantly ...