View Subcategory

Check if a string contains a match to a regular expression

Display "ok" if "abc 123 @#$" matches /\d+/

Loop through a string matching a regex and performing an action for each match

Create a list [fish1,cow3,boat4] when matching "(fish):1 sausage (cow):3 tree (boat):4" with regex /\((\w+)\):(\d+)/