Hello all! I have a super simple question as I am new to “extract with regex”. I was just wondering how I would go about extracting multiple strands as I am trying to make a command system. The user would type in a strand like: “/me sample” and it would upload to a database field and come back as text using “extract with regex” allowing “samle” to be shown without “/me”
If someone could help me, as I know it is possible. That would be much appreciated. Thanks in advance! -Whitigol
This is my first time using regex in my bubble applications. I am currently developing a CAD/MDT System for my PS4 Roleplay Server that is ran in discord.
I am trying to make a command system for in game interaction. For example, when a user calls 9-1-1, they will type in the command center in the cad system "/911reason". After that, they would click enter.
It would then trigger a webhook in the discord server allowing dispatch to see (in the discord server) that a certain user called 9-1-1. When the user types in the command. The workflow will send the webhook with the command that the user entered in to the field. But I am trying to get rid of the “/911” when the webhook is sent so the users viewing the message do not see it. To achieve this, after the text I am using “find and replace” using a regex pattern. I am trying to get it to remove the commands /me, /911, /twotter, and more. I have seen this done in other places. I was just wondering how I could achieve this myself.