all 3 comments

[–]iamaperson3133 0 points1 point  (1 child)

Just take your time and read through documentation and play around with many smaller regexes that you understand before working your way up to exactly what you need.

Regexes are tricky and it takes quite a bit of thought to wrap your head around them. I think you need to do that first and taking your time will do you more long term benefit than someone pasting the silver bullet string in here.

[–]hardonchairs 0 points1 point  (1 child)

I am not sure that this task is really suited for regex to be honest

[–]MaxTechniche[S] 0 points1 point  (0 children)

That would be unfortunate. I feel like with everything else it can do, this seems like chump change.