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


in reply to Regex Question

What do you mean by "take out"? Do you wish to remove the matching characters from the original string or do you want to assign them to another variable?

Bill