Javascript Regular Expressions Match Ending String Patterns

Javascript Regular Expressions Match Ending String Patterns