Regex to match everything after double character occurrence -


this question has answer here:

i'm trying use regex match after double occurrence of underscore in following string: abcd__a123. desired output a123.

i have /__(.+)/ produces output includes double underscore. i've searched on , google answers no luck!

try positive lookbehind this.

regex: (?<=__).+

regex101 demo


Comments