Regular Expression matching sub string
RegExp is new to me!
I have a string which contains few commas that the number/place of the commas are not predictable.
I need the substring that begins from the 5th comma from the end, and forward.
example:
full string:
OU=Praklitim,OU=Sanegoria,OU=JR-Maatz,OU=OUs,DC=justice,DC=gov,DC=il
substring:
OU=JR-Maatz,OU=OUs,DC=justice,DC=gov,DC=il
Thank you,
Maya.
|