H
ht
does anyone know a regex pattern that can match,
text within five words of text
e.g.
text hello goodbye today yesterday find text bye him her wait text
match: text bye him her wait text
I thought it would be something like text(?:[\w]*){1,5}text but that doesn't work.
I would also like to be able to change the amount of within words
Help anyone ?
thanks
TH
text within five words of text
e.g.
text hello goodbye today yesterday find text bye him her wait text
match: text bye him her wait text
I thought it would be something like text(?:[\w]*){1,5}text but that doesn't work.
I would also like to be able to change the amount of within words
Help anyone ?
thanks
TH