Your start string is fixed so will just have to use:
^http://www\.domain\.com/buy/.*\.html
^ is used in regular expression to point beginning with 'string/word/character'.
You may have to escape '/' and '.' putting '\' just before these characters.