Categories
Regular expressions search per turn?
//--> 'aabbaa'.replace( /^(a+)/, 'b' ); //<-- //Есть какой нибудь квантификатор или флаг?
Answer the question
In order to leave comments, you need to log in
reverse replace reverse
I will offer for a change:'aabbaa'.replace( /(a+)$/, 'b' );
'aabbaa'.replace( /(a+)$/, 'b' );
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question