Click here to Skip to main content
15,881,516 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:


Can you suggest me a regex logic to make all (a'integer') to be a'integer'?
For the given line above my desired output is


What I have tried:

I tried to generate a pattern using some online regex simulators, but i have no experience in this and is difficult for me. Also please suggest me some simple notes to know more about regex.
Updated 16-Nov-21 6:20am

Try this regex:

And use this as the replacement string:
Share this answer
RegExr: Learn, Build, & Test RegEx[^] contains reference details. you can also Google for other sites with full tutorials.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900