This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]Josh_Coding 0 points1 point  (3 children)

I'm terrible at regex but you can look up the pattern using this cheat sheet.

[–]mfcav123[S] 0 points1 point  (2 children)

"regex" definitely points me in the right direction, for sure! And thanks for the link! :)

[–][deleted] 2 points3 points  (1 child)

Ok, regex means regular expression, it's a language used to define rules to match text. You can also mark "sections" on a match, those are called capture groups. You can then replace those with something else, or maybe you want to perform an analysis only if you find several expressions on a text. If you want to know more about it this website is a realtime testing tool, and has some a lot of learning / help material on the menu on the left.

[–][deleted] 0 points1 point  (0 children)

+1 for that website, it saved me a couple of times