Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing a backslash

Status
Not open for further replies.

hawaiian1975

Programmer
Nov 7, 2003
26
US
How would I remove the backslash, in order to make this statement a lot neater:

I have /\bin\/usr\//
Is there a way to rewrite this?
 
you should be able to substitute the outer slashes with any other character - i'm not sure about that first backslash before bin though.. is that supposed to be a forward slash?

~/bin/usr/~
 
I forgot to add the backslash.. It supposed to be:

\/bin\/usr\//

 
same thing applies.. just try it. If you have a problem, post the rest of the line - I'm not sure what you're doing with this when it's out of context. I'm assuming it's preceded by q or qq?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top