RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 2
Title Test Details Pattern Match(For COBOL's Move Verb)
Expression
(?i)\s*MOVE\s+\w+(\-\w+)*\s+TO\s+\w+(\-\w+)*
Description
This is Regular Expression for COBOL's Move Verb. eg.: MOVE WS-IDFD9 TO DF-FD-FF Here in eg. variables have hyphen instead of underscore.
Matches
MOVE WS-IDFD9 TO DF-FD-FF
Non-Matches
MOVE WS-IDFD9 TO DF*dfd*
Author Rating: Not yet rated. Yogesh R. Bari
Title Test Details Pattern Match(For Date)
Expression
\d{1,2}(/|-)\d{1,2}(/|-)\d{2,4}
Description
This is regular expression for date. eg.:02/06/2010 2/6/10 02-06-2010 2-6-10
Matches
02/06/2010
Non-Matches
02 June 2010
Author Rating: The rating for this expression. Yogesh R. Bari
   Displaying page 1 of 1 pages; Items 1 to 2

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials