jasieltego, welcome back to the forums.
Your code seems missformatted and is missing some charachters. I assume it’s because you missed to fomrat it as code. Please correct this by editting your question and using the </> symbol in the format bar.
Thanks in advance.
It’s hard to recommend something meaningful without knowing the actual format of your source files where you get all the information from. But when the string you get from it always looks the way I assume from your description you could use a simply -split with a .trim() to remove the unwanted charachters. … something like this for example:
(' software : Photoshop ' -split ':')[1].Trim()
If you could share a few sanitzed lines of your input files we mught be able to help a little further. This could make your code a little more robust and reliable. ![]()
If you share sample data please format this as code as well. Here you can read how that works: Guide to Posting Code.