I’m working on a PHP script in which the format one of the strings I’m getting as input is unknown. For example, I may get the input:
user Name <7a240011-1b54-4a91-be27-a5cf8f474a39
Or I could get the input:
7a240011-1b54-4a91-be27-a5cf8f474a39
My issue if the string comes in like this:
user Name <7a240011-1b54-4a91-be27-a5cf8f474a39
How do I remove user Name <
so all I’m left with is the UUID?
Now, what’s making this even harder is the UUID is never the same and
user Name <
will always have a different name.