Topic
8 replies Latest Post - ‏2013-02-15T12:45:39Z by Jayatheerthan
SystemAdmin
SystemAdmin
603 Posts
ACCEPTED ANSWER

Pinned topic AQL Regular Expressions

‏2013-02-15T04:57:21Z |
Hi,

I have a text file with 3 columns like Id,Name,Description.
For Example,

219;John;He is a good swimmer.
289;Paul;He is a good dancer.
123;David;He is a good writer.

Now I have written view for column "Id" using general regular expression for numbers without using dict file.

create view RefId as
extract regex /^0-9+$/ on D.text as num
from Document D;
output view RefId;

But it displaying error "There are no annotations in the input collection".

Could anyone solve my problem??
Updated on 2013-02-15T12:45:39Z at 2013-02-15T12:45:39Z by Jayatheerthan