Skip to content
Advertisement

Tag: regex-group

Regular expression to match optional patterns

I know that Regex is a pretty hot topic and that there’s a plethora of similar questions, however, I have not found one which matches my needs. I need to check the formatting of my string to be as follows: All line must start with 5 digits. Characters 6 to 12 must be white space. Character 13 must be either

Advertisement