Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

One more... 3

Status
Not open for further replies.

vbkris

Programmer
Joined
Jan 20, 2003
Messages
5,994
Location
IN
o.k lets say i have a sentence:
"Mary had a little black lamb."

i search for the word "little" i want to display 1 word before and after "little". ie
a little black

any takers?

Known is handfull, Unknown is worldfull
 
A mighty star for mr sleipnir214. I know a couple of things about php but this regular expressions were always Chinese to me (and I am not from China). Thanks for the referrence which will help me understand them :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top