L
Luis Esteban Valencia
hello quite a simple one if you understand regular expressions vbscript and
..net, probably quite hard if you don't
i have a single line input which offers classic search functionality, so if
someone puts something in quotes i.e "A Gibbon" i want to extract that prior
to using the rest of the string
what i need is a regex string that'll turn a postback string eg "A Gibbon"
"A Baboon" "George Bush" doris day into a csv array
("A Gibbon", "A Baboon", "George Bush", "doris", "day")
i can probably handle the doris day after i have got the quoted items
sub btnSearch_clicK()
dim strtext as string = inpSearch.text
dim srchArr as string
so dim myRegEx as new regEX( .....find all items in quotes)
srchArr = myRegEx.Replace( strtext, ...... )
any ideas?
..net, probably quite hard if you don't
i have a single line input which offers classic search functionality, so if
someone puts something in quotes i.e "A Gibbon" i want to extract that prior
to using the rest of the string
what i need is a regex string that'll turn a postback string eg "A Gibbon"
"A Baboon" "George Bush" doris day into a csv array
("A Gibbon", "A Baboon", "George Bush", "doris", "day")
i can probably handle the doris day after i have got the quoted items
sub btnSearch_clicK()
dim strtext as string = inpSearch.text
dim srchArr as string
so dim myRegEx as new regEX( .....find all items in quotes)
srchArr = myRegEx.Replace( strtext, ...... )
any ideas?