Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #12722
| From | bill <william@TechServSys.com> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | help with preg_match pattern |
| Date | 2014-01-28 13:53 -0500 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <lc8ub0$on3$1@speranza.aioe.org> (permalink) |
Yup managed to confuse myself reading the manual. I have an numerically indexed array that consists of fragments of a prescription. Rarely I may have an array element in the form of: [Alert: This Rx was initially created on 1/27/2014.] I want to delete those array elements (probably using array_slice), but first I need to figure out which array elements match the pattern. The date may change and will use one or two digit days and months. I could just look for the first part of the element, but I want to be prepared for the people upstream (over whom I have no influence - different company) to add other Alerts, some of which I will want to ignore, some of which I may want to keep. I am certainly open to other suggestions. bill
Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread
help with preg_match pattern bill <william@TechServSys.com> - 2014-01-28 13:53 -0500 Re: help with preg_match pattern Jerry Stuckle <jstucklex@attglobal.net> - 2014-01-28 14:04 -0500 Re: help with preg_match pattern Denis McMahon <denismfmcmahon@gmail.com> - 2014-01-28 19:42 +0000
csiph-web