Thursday, April 14, 2011

Regex to match domain...

Having trouble figuring this out and feeling quite stupid...

I have many urls like this /imagebuilder-ptop.asp?imgCode=166 all I need is a regex that will match /imagebuilder-(ANTHING WHATSOEVER)

If is it /imagebuilder-lkd fa;lsdfh adhf alkdfhdfh I want to match it...anything.

From stackoverflow
  • /imagebuilder-(.*) would do it.

    David Wolever : No problem. And, no, unfortunately I'm taken at the moment.

0 comments:

Post a Comment