I've been struggling with finding a working wildcard search in the Code application. Is there a character I'm missing? I'd like to be able to highlight multiple numbered items, replacing the number with a wildcard search, but I'm not sure the function exists.

If I'm being blind, that's fine, if someone gives me the answer first I'll be happy to see this closed.

1 Answer 1


There is now a regex search functionality in Code. This works for both local seaches (use the toggle button marked "</>") global searches (use the switch in the dialog). Unfortunately you need to know something about regex expressions but this information is easily available online. With the correct regex you can search for virtually any pattern of text and also e.g. limit the search to the beginning or end of a line.

  • As an example entering ^\d.*$ as a regex search will highlight all lines starting with a number Commented Dec 27, 2022 at 12:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.