http://www.perlmonks.org?node_id=589935


in reply to Regex help

Hi,
Some specific examples would help, e.g. a set of possible inputs and the desired output.
Do you need the position as the word number, or the character number?
Anthony
-- Anthony Staines