regex - Add some text using Regular Expression -


i have mobile number series this

9777358594 9861312901 8895210866 9861415461 9178146387 9853805726 9040663961 

and want replace them this

a,9777358594 a,9861312901 a,8895210866 a,9861415461 a,9178146387 a,9853805726 a,9040663961 

what regular expression this?

the matching pattern should ([0-9]+) , replace pattern should a,\1.

if using specific language (eg. php, java etc.) may differ.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -