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
Cisco VPN configuration.
HP dl380 g6 - esxi server need to add a usb licensing dongle to a virtual machine
How can I create my own gratuitous arp?
Automatically insert document heading into header - MS word
Custom Icons not refreshing in Windows 7 install
Xcode 3.1.4 SDK 3.0 Device Family Blank!!!
What's wrong with my Fahrenheit-converter in JavaScript?
How can I make radio buttons mandatory fields?
redirect site root to a subdirectory using htaccess
cannot access windows XP via remote desktop