Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,640,964
Community Members
 
Community Events
196
Community Groups

How do I search for a slash '/' in a text field?

Various attempts at escaping do not seem to work.  For example, I'd like to search for the term '/browser' (no quotes).

4 answers

1 accepted

0 votes
Answer accepted
Doug Swartz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 25, 2016

I don't think you're going to be able to search for a slash. This page doesn't include the slash as one of the special characters. I believe the standard Lucene indexer, which that page says JIRA uses, splits words based on punctuation. It treats the slash as punctuation and not searchable.

Hi,

After 5 years I have a similar question .... but on confluence pages:

I want to search in confluence a string like: "Jupiter/v1.2" , (there are many of "Jupiter" occurrences (without slash) and I want to ignore those) ... My only solution is to export everything to PDF and search there ... but is ... not nice ...

 

 

I've looked at both pages:

https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-764478330.html  "Advanced searching"

https://confluence.atlassian.com/jirasoftwarecloud/search-syntax-for-text-fields-764478343.html  "Search syntax for text fields"

 

@Bautista:

Q: How are you escaping it?

A: Any way I can try smile  I think I've tried all combinations of single/double quote, single/double backslash, Unicode escape notation, etc.

 

@Swartz:

I think you're right.  While the slash is listed as a Reserved Character on the "Advanced searching" page, it is not listed as a Special Character on the "Search syntax for text fields" page.  Your reference

https://confluence.atlassian.com/jira/performing-text-searches-185729616.html  "Performing Text Searches"

links to

http://lucene.apache.org/core/3_3_0/queryparsersyntax.html  "Apache Lucene - Query Parser Syntax"

which, like the JIRA doc, lists the same reserved characters (which doesn't include slash).

0 votes
GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 25, 2016

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events