Microsoft
Software
Hardware
Network
Question : pattern matching regular expression
I need to do pattern matching
to filter the following strings
org.gnd.xx.zz"/> is acceptable
org.gnd.xx"/> is acceptable
org.gnd.xx.zz.ddd"/> is also acceptable and in general if the number of tokens (separated by .) must be 3 or more
Answer : pattern matching regular expression
Try
1:
Pattern p = Pattern.compile("(?:\\w+\\.){2,}(?:\\w+);\"/>");
Random Solutions
HighCharts alternatives
Reference a selected rows column value from a gridview in VB .Net 3.5
Outlook hyperlinks take me to my homepage (not the actual link url
JQuery based image (actually an element of code) rotator
PL/SQL Performance
PGP security
SSI EEB 3.61 case
Translate web site
Multiple $(document).ready() jquery conflicting
Vlookup with exact number format