Jump to content

bandito

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

bandito's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks xyph! I ended up using booth and they work much better than what I had. One question, in the regular expression for the work "address" , what would i need to do to see if there is 1 or more letter "d" or letter "s"? Thanks again those regular expressions work great!
  2. That's pretty much what I want but I was hoping to replace the match with and empty string. I managed to do using preg_match() with a combination of substr() and strlen(). Thank you very much your example works great.
  3. Hey guys, I am trying to return some data between 2 delimiters. For example I have sdfkasdjfk address: 1 smith road: asdkfasdjf and I want to be able to return address: 1 smith road: and replace it with an empty string. The information between the address: and : is always different. I have played around with preg_split(), preg_grep(), preg_replace but have had no luck. Any ideas? Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.