Route Filter syntax for 'find'

Does anyone know the proper syntax in routing filters for using ‘find’ to match a string in the comment would be?? I’m trying to use this to mark static routes for redistribution…

I’ve tried most derivatives of:
if (find “*BGP Advertise” comment) {accept}

Thanks,

Tim

rule=“if ( comment find your_string ) {}”

or

rule=“if ( comment regexp your_regexp ) {}”

thank you… I must have tried every other combination… This needs to go in the documentation, a simple example would do.