Sure! It's nothing difficult really (once you've learnt it :P). However:
edit: the full explanation follows below: if you want just the quick solution do this:
-pick one stick from the third line;
-pick one stick from the first line;
-3 sticks from the 2nd line
-1 from first
-win the game
Let's say we have:
||| (3)
||||| (5)
||||||| (7)
You have to express every group's width with a sum of 4, 2 and 1. An example will explain better what I mean:
3 = + 2 + 1
5 = 4 + + 1
7 = 4 + 2 + 1
Spoiler
Simple isn't it?
Now, erase all the pairs (4's, twos, or ones):
3 = //
5 = //
7 = 1
Spoiler
You should leave your opponent with an empty "board" (so, in this case, just erase one stick from the third line.
If you play every turn like this you will sonner or later arrive to an easily winnable configuration (eg: your turn with ||/|/|). Turn off the autopilot mode and beat your opponent.
P.S.: I am not sure (read: I don't remember) if the AI plays the same way every game (read: if there is an easier explanation on how to beat it). However, hope that this helps. If my explanation wasn't clear enough PM me or post here again.