Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
02-08-2014, 05:14 AM #1
- Join Date
- Nov 2010
- Washington DC
- Thanked 1 Time in 1 Post
extract data from string with preg_match()
I have the following string and would like to use preg_match() to extract parts of the string.
4931 Wyaconda RdRockville, IA 20852
Monday - Friday - 3:00 - 10:00PM and Saturday & Sunday -12:00 - 8:00PM
Kahler Hall 5440 Old Tucker Row
Columbia, MD 21044
Wednesday - Friday - 6:00 - 10:00PM and Saturday & Sunday 10:00 - 8:00PM
So in each case, I would like to ge the days and time, ie:
"Monday - Friday - 3:00 - 10:00PM and Saturday & Sunday -12:00 - 8:00PM"
I would appreciate some help.