Hi,
Can somebody please help me create a case insensitive regular expression match? I've looked on the forum and elsewhere and can't figure it out. Some websites have suggested using PERL techniques such as \i or (?i), but I don't think I'm using them correctly and continue to get errors. I've listed my expression matching below, and have just been using [aA] to accomplish case insensitivity, but there must be a quicker way. Thanks!
Clay Bavinger
University of Michigan
Can somebody please help me create a case insensitive regular expression match? I've looked on the forum and elsewhere and can't figure it out. Some websites have suggested using PERL techniques such as \i or (?i), but I don't think I'm using them correctly and continue to get errors. I've listed my expression matching below, and have just been using [aA] to accomplish case insensitivity, but there must be a quicker way. Thanks!
Code:
generate long_description_Malaria = regexm(Long_Description, ".*[Mm][Aa][Ll][Aa][Rr][Ii][Aa].*")
University of Michigan
Comment