Regex: match a pstring

Hi everyone,

I want to match a pascal type string, that is a 4 bytes hex containing the length of the string, followed by the string itself
the leading bytes must also be aligned to 4 bytes.
is it possible with regex ?

thanks.