467,168 Members | 988 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,168 developers. It's quick & easy.

how to replace . with ..\

Hi all,

Please look at below eg.

..abc\efg.

in this I want to replace only last . (dot) with ..\ (double dot slash)

So can anybody help on this...It will be greatly appreciated

Thanks,
Raju
Jul 2 '08 #1
  • viewed: 981
Share:
2 Replies
numberwhun
Expert Mod 2GB
What have you tried so far to do this? This is a learning forum and I would not want to take the opportunity to figure it out away from you. We can certainly help you, but please show us what code you have tried thus far.

Regards,

Jeff
Jul 2 '08 #2
nithinpes
Expert 256MB
You need to escape '.' and '\' using backslash(\) to remove thier special meaning inside pattern match.
Jul 3 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Craig Keightley | last post: by
6 posts views Thread by JackpipE | last post: by
15 posts views Thread by =?Utf-8?B?TWlrZSAiWU9fQkVFIiBC?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.