I'm completely useless with Regular expressions and need help with this one. I'm currently creating a HipChat bot for my work which will create JIRA tickets from HipChat.. HipChat bots have the ability to monitor a chat room for keywords.. then run JavaScript if the keyword has been used.
In my case, I would like the Bot to monitor for -
"/ask ********************************"
Where *
= text of the JIRA issue body of unlimited length
so for this, i would need regex to hook on to, and also regex to move the description text into a variable.. would anyone here be able to assist??
If I haven't explained myself well, below is an example of how "Karma" works (addon.webhook). Thanks!