View Single Post
  #1 (permalink)  
Old 07-24-2007, 07:26 AM
raj raj is offline
D-Web Programmer
 
Join Date: Jul 2007
Posts: 89
raj is on a distinguished road
Default Can any one give regular expression for this string?

hi,

Can any one give solution for this using Regular Expression or any other php

functions?

I have the string:

$vStr = ' hi this "Raj Test" regular "expression functions" '

i want split this string using space but any string within the double quotes

you should take as single word.


i want to store an array like this:

$arrVal = ("hi", "this", "Raj Test", "regular", "expression functions")
Reply With Quote
Sponsored Links