After receiving information from the back-end, I am required to convert it into multiple words and store them in an array. How can I achieve this using regular expressions?
Here are the words:
Enter Room/Area^_^Area 100#_#Enter Grid^_^Grid2#_#Enter Level / Building^_^Building1#_#Enter Drawing^_^Drawing1#_#Enter Spec section^_^Spec2#_#Enter BOQ^_^BOQ1#_#
The expected result is :
["Area 100", "Grid2","Building1", "Drawing1", "Spec2", "BOQ1" ]
Essentially, I need to extract words that end with a number up to the special character ^
.