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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

regexp

Status
Not open for further replies.

stormbind

Technical User
Joined
Mar 6, 2003
Messages
1,165
Location
GB
It would seem I do not understand regexp in Java. The following..

System.out.print("hello world".split("/s"));

.. outputs gobledigook :/

I wish to split the sentence into an array of valid words.

--Glen :)

Memoria mihi benigna erit qui eam perscribam
 
isn't it "[red]\[/red]s"?

_________________
Bob Rashkin
 
Status
Not open for further replies.

Similar threads

  • Locked
  • Question Question
Replies
2
Views
128
Replies
4
Views
202
Replies
2
Views
172
  • Locked
  • Question Question
Replies
2
Views
108

Part and Inventory Search

Sponsor

Back
Top