1

I need to search for a citation in a PDF document opened with Preview. The citations are in the form [42] and if I enter [42], Preview search interprets it as a character class in a regex, so I get matches for 4 and 2 as well.

I understand that I can just search for 42 instead, but that returns several unwanted matches as well.

How do I escape the square brackets and have Preview interpret [ and ] literally?

2
  • Hi @NikhilKumar - does this answer provide an idea - use double quotes - that works?
    – Mr R
    Apr 4, 2021 at 10:51
  • @MrR I did try that before and got the same result. Thanks for the suggestion, though. Apr 4, 2021 at 14:38

0

You must log in to answer this question.

Browse other questions tagged .