Thiwanka Wickramage
Thiwanka Wickramage

Reputation: 902

How to search especial characters in eclipse?

I was confused when i wanted to search * mark in my file. I know how to use star mark(*) for search but I don't know how to search star mark in the file.

Ex: in my file have this content

   /*some text*/
    .. other text ..

how can I search star mark line ?

I don't think this is a stupid question. Anyway this is really a question for me.

Upvotes: 0

Views: 3674

Answers (1)

TranceVibes
TranceVibes

Reputation: 136

When using the advanced search dialog in Eclipse, you can escape special characters by using the "\" character. So for example if you are looking for "*" literally, then you need to enter "\*" in the search text box.

https://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.rse.doc.user%2Fref%2Frsearch.html

Upvotes: 1

Related Questions