hii Venu Mohan,
you can generate whole desired string in multiple stages and at last concatenate it.
as i can see in your RegExp
you want first 6 character alphabets
then
one digit
then
two characters and
then
one digit
so generate all in steps in java actions and stored in variables and at last concatenate at the last and return it.