Posted on 03-12-2019 12:58 PM
I would like to single out Macs named like "Whoever's iMac" but can't seem to create criteria that catches Computer Names with an apostrophe in them. Computer Name matching regex ['] or using Computer Name is like ' only returns one machine for whatever odd reason.
Solved! Go to Solution.
Posted on 03-12-2019 02:45 PM
@PhilMaul Take a look at the Computer Name section of a computer in question. It uses a different type of apostrophe, which is probably why it is not working for you.
# This is what you were looking for: '
# This is what that field usually uses: ’
# So the criteria would be Computer Name Matches regex
.*["’].*
Posted on 03-12-2019 01:07 PM
Try this:
# Criteria is Computer Name Matches Regex:
.*["'].*
Posted on 03-12-2019 02:20 PM
@ryan.ball No difference, just the same single machine was found.
Posted on 03-12-2019 02:45 PM
@PhilMaul Take a look at the Computer Name section of a computer in question. It uses a different type of apostrophe, which is probably why it is not working for you.
# This is what you were looking for: '
# This is what that field usually uses: ’
# So the criteria would be Computer Name Matches regex
.*["’].*
Posted on 03-13-2019 06:49 AM
@ryan.ball Yep, that worked! Thank you.
Posted on 01-29-2020 01:19 AM
Used this solution for finding computers that have names ending with (