[TABLE="width: 500"]
<tbody>[TR]
[TD]Account
[/TD]
[TD]Object code
[/TD]
[TD]Description
[/TD]
[/TR]
[TR]
[TD]001 -111141-
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]001 -14559 -
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]001 -99-01-X -121-00-54080 -
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]001 -99-04-X -122-73-5L010 -
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]001 -02-02-X -152-00-56133 -
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am looking to extract the string between the 2 last hyphens. For example, i need to extract the object codes; 111141, 14559, 54080, 5L010, 56133.
How can I do this?
<tbody>[TR]
[TD]Account
[/TD]
[TD]Object code
[/TD]
[TD]Description
[/TD]
[/TR]
[TR]
[TD]001 -111141-
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]001 -14559 -
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]001 -99-01-X -121-00-54080 -
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]001 -99-04-X -122-73-5L010 -
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]001 -02-02-X -152-00-56133 -
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am looking to extract the string between the 2 last hyphens. For example, i need to extract the object codes; 111141, 14559, 54080, 5L010, 56133.
How can I do this?