Regex Help

Hi,

I need to do an ad-hoc classification of a list of thousands of webpages and I'm trying to use regex for doing it.

Apparently it's quite simple, for example, if I have this link : www.knime.org/community/forum and I'm applying this regex .*\bforum\b.*, I expect to have as a result this link, but it's not working. In fact, what I can see is that it's working with the word boundaries that are at the beginning or in the middle of the link but not if the word boundary is at the end.

Could you please help me? Which regex should I need to use to get the link that contains a specific word, independently of the position in which it's placed in a string? (start/middle/end).

Thanks in advance for your help!

Best regards,

Nati

 

Hey Nati,

use .*forum.* for your problem.

Best,
Marc