Textarea return position where pattern is found.

  1. last week

    David C

    Aug 11 Boston, MA

    is there a way that the TextArea could return the position of where the start of a pattern is found ?
    or
    is there a provision in Regex ( Regular Expression ) where the Regex could return the charactrer position where a pattern starts ?

    The Instr method can tell you where in a string (such as the TextArea.Text property) a pattern begins.

  2. Andrew L

    Aug 11 Answer San Francisco, CA, USA

    The Instr method can tell you where in a string (such as the TextArea.Text property) a pattern begins.

  3. David C

    Aug 11 Boston, MA

    ah yes that's right, it's not Regex, but the next best thing.

    Thank you

  4. Markus W

    Aug 11 Pre-Release Testers #JeSuisHuman New Zealand, Auc...
    Edited last week

    demo project: https://www.dropbox.com/s/8rchmjrl6wea5lr/bitbatbut%20updated%202.rbp.zip

    screenshot: https://www.dropbox.com/s/gvsrwcdeeolu4ap/bitbatbut%20screenshot.png

or Sign Up to reply!