Regex Tutorial - A Cheatsheet with Examples ...
https://regextutorial.orgThe regex is going to match first occurence of a from left to right and that is a in car. This a is in the center of word car but it doesn't matter to regex engine. It will simply match any first occurence of a in the test string. However, if you don't want to match a in the middle of a word you can tell regex by setting boundaries.
regex101: build, test, and debug regex
https://regex101.comRegex Debugger. Sponsors. Jamstack at Scale .. Explanation. An explanation of your regex will be automatically generated as you type. Match Information. Detailed match information will be displayed here automatically. Quick Reference. Regular Expression. No Match / / …