Thread: Regex pattern
View Single Post
  #3 (permalink)  
Old 12-11-2007, 12:05 AM
ravian ravian is offline
Senior Member
 
Join Date: Nov 2007
Posts: 115
ravian is on a distinguished road
Thanks but what does * means here. Does it mean all the possible characters? I came up with the following. Does this makes sense?

Code:
String patternStr = "[A-Za-z0-9]*\\-[A-Za-z0-9]*.html";
Reply With Quote