http://qs321.pair.com?node_id=1211960


in reply to Looking for a regular expression for the following pattern.

I don't understand your question. Please give more context information about what to match or not match.
In Perl regex lingo \w+ matches a-zA-Z0-9_

Give an example of input data and what you expect to match.

Update: I looked back at this thread, but I have yet to see a clear problem statement.
Show an example of the "real world" data and what you expect to match from that.
Writing regex'es out of context just doesn't make any sense.