...

View Full Version : Regex-get integer between tags



php_techy
01-11-2010, 10:18 AM
Hi,
Please excuse if similar issue has been posted earlier.
My data is like

I am going 123 to movie.
I want a regex to get the value between and only if its integer.
eg if its junk characters then I dont want...but if its 123
then I require 123

Regards

kbluhm
01-11-2010, 11:57 AM
/\[ABCDEF\](\d+)\[\/ABCDEF\]/



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum