Problems About regex ".*"

Hi,

I would like to match texts like “although…but”, for which I use

although
.* # match any number of words
but

However, it is not working?

Anyone body could help?

Thanks
John

Please look at the examples on ‘skip’ in the wiki, these show how to skip tokens. What you ut in the xml is working within 1 token.

Ruud

Try to use .? , because . is greedy . Or if you know what will be inside this token - define it. For example
[^<]+ - when you know that < will never be present.
Or use this online tool http://www.regex-builder.com/