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
VB.NET simple SendMail program error: System.Net.Mail.SmtpExcept
ion: Failure sending mail
is it possible virus affected VPN client spread virus in corporate network?
How to compress a string into a short representation in ASP.NET using C# or VB.NET?
Asp.Net profile information in SQL view
Migrate SBS 2003 to Hyper-V
SqlDataAdapter InsertCommand not updating primary key value in dataset
Difference between SSID and BSSID
How to get an USB speaker to work with Eee PC 900 Xandros Linux
XenServer 5.5 The Storage repository is not available.
how to truncate the transaction logs in exchange 2010 after NT backup