Thursday, 8 August 2013

Can regular expression match this pattern?

Can regular expression match this pattern?

I want to match [#ABABAB]blah blah blah[/#ABABAB]
but I don't want to match [#ABABAB]blah blah blah[/#000000]
the ABABAB and 000000 are hex color code.
Thank you

No comments:

Post a Comment