Regex-get integer between tags
Posted: Mon Jan 11, 2010 3:08 am
Hi,
Please excuse if similar issue has been posted earlier.
My data is like
I am going [ABCDEF]123[/ABCDEF] to movie.
I want a regex to get the value between [ABCDEF] and [/ABCDEF] only if its integer.
eg if its [ABCDEF]junk characters[/ABCDEF] then I dont want...but if its [ABCDEF]123[/ABCDEF]
then I require 123
Regards
Please excuse if similar issue has been posted earlier.
My data is like
I am going [ABCDEF]123[/ABCDEF] to movie.
I want a regex to get the value between [ABCDEF] and [/ABCDEF] only if its integer.
eg if its [ABCDEF]junk characters[/ABCDEF] then I dont want...but if its [ABCDEF]123[/ABCDEF]
then I require 123
Regards