'How to extract positive lookbehind of the last occurence of the character in Regex [duplicate]
If I have text like below:
Wow [Game Ad] - CHECK - Arabic
I trying to extract only Arabic from the above text.
I tried (?<=\-\s)(.*)$ and it returns CHECK - Arabic by detecting the first - instead of the last occurence of -.
Is there a way for extracting the string after the last occurrence of the character for lookbehind?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
