These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

search queries

user-1518

Hi,

I don't have a clue about regex but would like to know how to match e.g. "apprentice" but not "apprentice usa", and similarly "bake off" but not "junior bake off".

Many thanks
Ted

user-30

You will need to use regular expressions regardless I'm afraid. You'll just need to use anchors:

http://stackoverflow.com/questions/11552...the-phrase

Simply put a ^ at the start and $ at the end of your search string. 

More info at the link above.

These forums are archived

See this post for further info