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
how to use CFCONTENT to deliver files from a folder outside web root, to a web browser? and loop through a series of fileIDs associated with a DocumentID
How to diagnose hard disk physical & logical errors ?
How can I find out what type of driver I need for a "other device, Unknown Device" for a nc6400 laptop
PHP.ini file 'display_errors' is set to Off but errors still appear on page?
CCSP certification
Safari 5 Crashes immedietly
Unattended Windows 7 Installation answer file not working
number the records in 4gl query
Cisco ASA 5505 not passing traffic (Possible NAT or ACL issue)
MS Dynamics 4.0 Outlook Configuration - Microsoft Dynamics CRM server is not available