Home Forums Help needed regular expression request Reply To: Re: regular expression request

Avatar photoKaptK
Participant
Post count: 22

I haven’t tested this yet in Tabbles but have run it through the tool Espresso which is good for testing regex.

d{2}-04-d{4}

It is matching 2 digits then the -04- for April and finally 4 digits for the year. Should work for you as i don’t think error checking needs to be done on the day/year part of the match.

Sorry i just reread what you were after and i see i should tweak this some more.

(?:w*_)?d{2}-04-d{4}(?:_w*)?

😀 Hope it works in Tabbles as it’s going fine in Espresso. I have to go Zzzz so will test it when i wake up in Tabbles.