oracleguy
03-16-2003, 09:14 PM
I'm having trouble with a regular expression.
My pattern is: \[img\][a-z\.0-9]\[/img\]
And my sample text is just gohasghiohg [ img]enter8.gif[/ img] dsfsf
(I had to add spaces in to the img tags to prevent the vB code from grabbing them)
I'm trying to find any occurances of the img tags cuz then it will give me the position and the length. But i'm having trouble with the pattern.
I don't have much experience with regular expressions so does anyone have any ideas?
My pattern is: \[img\][a-z\.0-9]\[/img\]
And my sample text is just gohasghiohg [ img]enter8.gif[/ img] dsfsf
(I had to add spaces in to the img tags to prevent the vB code from grabbing them)
I'm trying to find any occurances of the img tags cuz then it will give me the position and the length. But i'm having trouble with the pattern.
I don't have much experience with regular expressions so does anyone have any ideas?