• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Remove special characters/regular expression from string.

 
Sheriff
Posts: 6363
172
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Gayathri Gayu wrote:While keeping the cursor on the link it should either display the address...


This sounds like you are hovering over a link in HTML.  Is that correct?  Did you create this HTML?

or it should go to this path.


What path?

Instead it is showing the address as my path


Meaning a local folder (directory)?  Are you constructing this link?  I'm lost.
 
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And I found a way to remove the uri's But in the output i couldn't able to display the classes as uri's instead as a string it is getting displayed.


Output I am getting as string is

AFNOR_NF
AISI
Alloys
AusteniticStainlessSteels
BS
CarbonSteels
Compositions
CountryOfOrigin
DIN
DesignationType
Element
JIS
SAE
SS
Spec
StainlessSteels
Steels
UNI
UNS
AlloyClassifications
BinaryAlloys
FebasedAlloys

But i want these in links.


 
Knute Snortum
Sheriff
Posts: 6363
172
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would they be links if you removed the URL part?  What should the classes point to?
 
Gayathri Gayu
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The classes will point to sub class
 
Gayathri Gayu
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The classes will display something like html anchor link kind off. Is it possible?
 
Gayathri Gayu
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to add code like   to display string as links?
 
Rancher
Posts: 2140
15
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Gayathri Gayu wrote:Is it possible to add code like   to display string as links?



Is it any way related to your previous question, or is this a different requirement?
 
Gayathri Gayu
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It was related to my previous question only. As I got the uri and its short form in an string, i wanted to call the string in a href. And now i found out how to

 
Swastik Dey
Rancher
Posts: 2140
15
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds good.
 
The problems of the world fade way as you eat a piece of pie. This tiny ad has never known problems:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!