Hello,
Thank you for contacting Rank Math today.
Yes this option is available, please navigate to Rank Math > General Settings > Links > Nofollow External Links and then enter the domains that you would like to be excluded on this field:

Looking forward to helping you. Thank you.
Thanks for quick response.
I am looking for an option where instead of writing each and every domain name manually, i just write a code type of thing to make any external link that ends with .edu or .gov will become dofollow automatically .
Hello,
We are sorry but that option is not available in the plugin.
You will have to make do with the current setup by adding all the domains you want to dofollow.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hi Alax,
You are very welcome.
If you need help with anything else, please open a new support ticket here so we can help:
https://support.rankmath.com
We are always here for assistance.