TheBugSlayer
Programmer
Hi all.
I need to find a regular expression that pulls the last 9 digits presented before a separator of -,/ or space.
Example:
123456789-012 should return 123456789
123456789ABC/123 should return 123456789
123456 should return 123456
Thanks in advance for your help.
MCP SQL Server 2000, MCTS SQL Server 2005, MCTS SQL Server 2008 (DBD, DBA)
I need to find a regular expression that pulls the last 9 digits presented before a separator of -,/ or space.
Example:
123456789-012 should return 123456789
123456789ABC/123 should return 123456789
123456 should return 123456
Thanks in advance for your help.
MCP SQL Server 2000, MCTS SQL Server 2005, MCTS SQL Server 2008 (DBD, DBA)