Found it very interesting that if you try to keep everything as a sentence and you use RegEx_Replace to replace strings, words like "I'm" are treated as 2 words - I and 'm, but words like "Don't" are treated as one.
Any suggestions to get around this?
Also, can you work with functions like TitleCase inside of a Regex_Replace? Otherwise, you need to separate the words, in which case my first paragraph doesn't apply. @AYXAcademy ?
I did most of mine using the RegEx tool, but also had trouble with "I'm," so I kind of cheated and fixed all of these instances with a Replace() function in the formula tool. Here's what I did:
Iway onderway etherwhay isthay allengechay elpthay emay ackletay anyway ealray ifelay enarioscay oweverHay Iway inkthay atthay isthay asway omethingsay atthay idday elphay emay actisepray omesay oremay egExRay
anksThay orfay ethay uzzlepay
@EstherB47 I used title case once I got to the point where I had my words all sorted out (less capitalization) and it worked, even with leading non-alphas.
**Edit: Didn't see you asked for the functionality within RegEx
Interesting one, and certainly found use for the skills I learned after @OllieClarke introduced me to RegEx Crosswords.
Two things to note:
- The example in the comment moves the ay to before the apostrophe while the solution moves it to after (ended up solving both ways)
- The solution turns "you" into "youyay" which I don't think is normal in pig latin
Anyway, solution attached.