I want to write a JAVASCRIPT regex for selecting the words with only alphabet characters in the paragraph.
eg.
Input = My name is Apple iPhone 6S. My price is dollar 499. My RAM is 2GB. Output = My/name/is/Apple/iPhone/My/price/is/dollar/My/RAM/is
I know that the regex is used for the pattern matching not for making the runtime decisions based on the pattern. Please help.