Microsoft
Software
Hardware
Network
Question : Regular Expression or Patter Matching String or Parsing A Large String
I have a large text possibly read from a text file. Can any one help me to extract string with following pattern
Starting with word(mixed case) , followed by : and followed by any word or numbres
to make it specific
line starting with Word(Mixed case) followed by : and then followed by word(mixedcase) or number
eg
KS Status Info : ZP busy
OVR Number : 232323232323
Product File : <not allocated>
Answer : Regular Expression or Patter Matching String or Parsing A Large String
Check this:
1:
[A-Za-z ]+\s*(\:)\s*.*[A-Za-z0-9 ]+.*
Random Solutions
Wrap text on the outside of a DIV tag?
Java: hashmap.remove(key)
Desktop Resizing
Installation of MS SQL 2005 (Recovering after a crash)
Excel 2007 Conditional Formatting
Trigger insert with constraint
MS access lock form fields
excel linked text - how to get the url of the link?
Installed VMware Server 1, now OWA & Outlook Anywhere doesn't work
Having issues with DirectX 9 on XP Embedded