Using a substring twice in regex -
First of all, this question can be asked first, but I'm not sure which phrase to search.
I have a string:
Maaa
I have a pattern:
Aaa
I have to match twice, I should give the initial index of 1 and 2. But of course, I only get one match (starting index 1), because the Reggae engine locks all 3 "A" and can not use them again, except with 1 "A" which is not matching Have an account.
How can I fix this?
Thank you!
you type 2a
a (? = AA) / Code>
Comments
Post a Comment