Advertisement
Nickname
g00dlife
Registered since:
March 11, 2003
Short bio:
 
Home page:
 
Total posts:
1

Forum posts by Adam W:

1 page [ 1 ]
Posted in Java Answers Forum, Mar 12, 2003, 3:58 AM
I need some help on simple regular expression.Just say I have a string for example: String str = "start start start match1 finish finish finish";I would like to extract the smallest string that is bounded by "start" and "finish"... ie. in this case I would like to extract the string "match1".My first guess was to use:pattern = "start (.*?)...
1 page [ 1 ]
Advertisement