What I need to select:
*Hello
*hey!!!
What I don't need to select:
*Hello*
*hey!!!*
CodePudding user response:
This pattern finds the words that you want.
\*[^\s\*] (?=(\s|$))
What I need to select:
*Hello
*hey!!!
What I don't need to select:
*Hello*
*hey!!!*
CodePudding user response:
This pattern finds the words that you want.
\*[^\s\*] (?=(\s|$))