I have a string that looks like that “—-.——-.—–.—“. Here —- is any substring of random length, . is the separator and the string can have a predetermined number of separator that I can dynamically change. How can I use regex to validate that a string new_s…
Tag: matching
What would be the regex pattern for the following?
I have multiple regex strings in format:- Example: A=’AB.224-QW-2018′ B=’AB.876-5-LS-2018′ C=’AB.26-LS-18′ D=’AB-123-6-LS-2017′ E=’IA-Mb-22L-AB.224-QW-2018-IA-Mb-22L’ F=’ZX-ss-12L-AB-123-6-LS-2017-BC-22′ G=’AB.224-2018′ H=R…