I am having a really tough time on this conversion problem. I have read, re-read and watched videos but I am pretty sure the answer I am coming up with is not correct.here is the diagram of the NFA
I have a feeling I am missing some steps. This is the expression I end up with:
(ab*(aUb)a*)Ua*
I've shared my steps in this image. (https://i.stack.imgur.com/e9xVZ.jpg)
I think this paper gives a very clear explanation of how to convert an NFA to a regexp.
Step by step, you create an NFA whose edges are labeled with regexps rather than tokens, and you rip out states until you've got just a single edge going from the input state to the output state.
https://courses.engr.illinois.edu/cs374/fa2017/extra_notes/01_nfa_to_reg.pdf has an good example.