would appreciate any help.
This is how the text looks like 11jun2018/M , 16JUL1976/F(it's date of birth+male or female)
I need to get the next result: 11jun18 , 16jul76.
I tried \d{2}\w{3}\d{4} which results in 11jun2018 and i also found what \d{2}(\d{2}) results in 18 ,but i can't figure out how to unite those two regex.
Because when i unite,i get previous result(only 18,instead of 11jun18).
Would also appreciate some regex guide for dummies


