As much as I love a good RegEx challenge to keep my skills razor sharp, I thought it would be helpful to have a place where we can compile some useful ones. Who knows - maybe we can save someone time rather than re-inventing the wheel. If you have something to share, please do.
If you could, please include a description of what you are sharing. If it would be helpful to explain a bit, please do. There is a broad swath of user skill levels which reference these groups. Also, please make the title of your RegEx in a bold font for easy searching later.
I will start things out with a little something:
Fiscal Year Validator:
FY14-15
10/01/2014 - 9/31/2015
^1[0-2]/\d\d/2014|0[1-9]/\d\d/2015
FY15-16
10/01/2015 - 9/31/2016
^1[0-2]/\d\d/2015|0[1-9]/\d\d/2016
This returns a value if a date is in the date range shown. You can increase the dates as necessary for future FYs. The expression determines which month is in the date. Depending on the year, it determines which FY it is.
Have anything that you can add for the good of your fellow Laserfiche user?