| Author |
Doubt on Regular Expression
|
qunfeng wang
Ranch Hand
Joined: Jan 28, 2005
Posts: 406
|
|
I've tried to use Greedy/Reluctant/Possessive quntifiers, but can't get the result I expected. Can someone help me out? Thanks.
|
To be or not to be. It's a question.
|
 |
Barry Gaunt
Ranch Hand
Joined: Aug 03, 2002
Posts: 7729
|
|
|
Use ".*\\|" as the regular expression.
|
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
|
 |
 |
|
|
subject: Doubt on Regular Expression
|
|
|