Extract 3 characters from a string of characters

Hello,

Is there a way we can extract 3 characters from the middle of a string using regex? I’m pretty new to this and I only see solutions on how to extract the first 3 characters or the last 3.

For eg- 123ABC4567

The pattern is always the same. I want to extract the substring (3,3) which is ABC.

Any help is appreciated.

Thank you,
Jennifer

1 Like

Hey, welcome to Bubble! This should work:

Editor: https://bubble.io/page?type=page&name=index&id=805truncate&tab=tabs-6

View: https://805truncate.bubbleapps.io/version-test?debug_mode=true

5 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.