a guest Jun 16th, 2015 227 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- $text = '(ART)End Processing Autoroutines (12/06/15 15:50:47)'
- # Regex = ^ Code:(.*?) Description:.* Timestamp:(.*?) $
- $regex = [regex]::Match($text, '^\((?<code>.*?)\)(?<description>.*)\((?<timestamp>.*?)\)$')
- $regex.Groups['code'].Value # ART
- $regex.Groups['description'].Value.Trim() # End Processing Autoroutines
- $regex.Groups['timestamp'].Value # 12/06/15 15:50:47
RAW Paste Data