I'm interested in finding pattern like %CHILD_NAME%, %PARENT_NAME%, %ADDRESS% using regex and preferably recursively in the current directory Following is the grep command I am using
grep -r "(.[A-Z]+[_]*[A-Z]+%)" *
When I use the same regex above at http://www.regexr.com, it does match %CHILD_NAME% but my command is not able to find this pattern in any file in current or sub directory.
-Eor-P), you need to use\+to match one or more.